@@ -237,8 +237,7 @@ discard block |
||
237 | 237 | { |
238 | 238 | $this->handleEvent($level, $message, $context); |
239 | 239 | }); |
240 | - } |
|
241 | - else |
|
240 | + } else |
|
242 | 241 | { |
243 | 242 | // starting from L5.4 MessageLogged event class was introduced |
244 | 243 | // https://github.com/laravel/framework/commit/57c82d095c356a0fe0f9381536afec768cdcc072 |
@@ -264,8 +263,7 @@ discard block |
||
264 | 263 | { |
265 | 264 | $this->app['understand.tokenProvider']->generate(); |
266 | 265 | }); |
267 | - } |
|
268 | - else |
|
266 | + } else |
|
269 | 267 | { |
270 | 268 | $this->app['events']->listen('Illuminate\Queue\Events\JobProcessing', function() |
271 | 269 | { |
@@ -294,8 +292,7 @@ discard block |
||
294 | 292 | 'time' => $time, |
295 | 293 | ]); |
296 | 294 | }); |
297 | - } |
|
298 | - else |
|
295 | + } else |
|
299 | 296 | { |
300 | 297 | // https://laravel.com/api/5.3/Illuminate/Database/Events/QueryExecuted.html |
301 | 298 | $this->app['events']->listen('Illuminate\Database\Events\QueryExecuted', function($event) |
@@ -337,8 +334,7 @@ discard block |
||
337 | 334 | unset($context['exception']); |
338 | 335 | |
339 | 336 | $this->app['understand.exceptionLogger']->logError($level, $exception, $context); |
340 | - } |
|
341 | - else |
|
337 | + } else |
|
342 | 338 | { |
343 | 339 | $this->app['understand.exceptionLogger']->logError($level, $message, $context); |
344 | 340 | } |