@@ -67,10 +67,10 @@ discard block |
||
67 | 67 | */ |
68 | 68 | public function enableErrorHandling() { |
69 | 69 | $this->errorHandler->addRecoverableErrorHandler( |
70 | - [$this, 'handleRecoverableError'] |
|
70 | + [ $this, 'handleRecoverableError' ] |
|
71 | 71 | ); |
72 | 72 | $this->errorHandler->addFatalErrorHandler( |
73 | - [$this, 'handleFatalError'] |
|
73 | + [ $this, 'handleFatalError' ] |
|
74 | 74 | ); |
75 | 75 | } |
76 | 76 | |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | */ |
80 | 80 | public function enableExceptionHandling() { |
81 | 81 | $this->errorHandler->addExceptionHandler( |
82 | - [$this, 'handleException'] |
|
82 | + [ $this, 'handleException' ] |
|
83 | 83 | ); |
84 | 84 | } |
85 | 85 | |
@@ -141,6 +141,6 @@ discard block |
||
141 | 141 | $ex->getLine() |
142 | 142 | ); |
143 | 143 | |
144 | - $this->logger->log(LogLevel::ERROR, $message, ['exception' => $ex]); |
|
144 | + $this->logger->log(LogLevel::ERROR, $message, [ 'exception' => $ex ]); |
|
145 | 145 | } |
146 | 146 | } |