minor #33040 [Console] Fix parse error (derrabus)
This PR was merged into the 5.0-dev branch.
Discussion
----------
[Console] Fix parse error
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | N/A
| License | MIT
| Doc PR | N/A
An extra closing bracket is breaking the tests on master currently.
Commits
-------
78630e5234
Fix parse error.
This commit is contained in:
commit
4e57758931
@ -132,7 +132,7 @@ class Application implements ResetInterface
|
|||||||
};
|
};
|
||||||
if ($phpHandler = set_exception_handler($renderException)) {
|
if ($phpHandler = set_exception_handler($renderException)) {
|
||||||
restore_exception_handler();
|
restore_exception_handler();
|
||||||
if (!\is_array($phpHandler) || !$phpHandler[0] instanceof ErrorHandle)) {
|
if (!\is_array($phpHandler) || !$phpHandler[0] instanceof ErrorHandler) {
|
||||||
$errorHandler = true;
|
$errorHandler = true;
|
||||||
} elseif ($errorHandler = $phpHandler[0]->setExceptionHandler($renderException)) {
|
} elseif ($errorHandler = $phpHandler[0]->setExceptionHandler($renderException)) {
|
||||||
$phpHandler[0]->setExceptionHandler($errorHandler);
|
$phpHandler[0]->setExceptionHandler($errorHandler);
|
||||||
|
Reference in New Issue
Block a user