@@ -38,11 +38,11 @@ |
||
38 | 38 | |
39 | 39 | $this->app->alias(ExceptionHandler::class, 'exceptions'); |
40 | 40 | $this->app->singleton('exceptions.repository', ExceptionHandlerRepository::class); |
41 | - $this->app->extend(ExceptionHandler::class, function ($handler, $app) use ($config) { |
|
41 | + $this->app->extend(ExceptionHandler::class, function($handler, $app) use ($config) { |
|
42 | 42 | return new Decorator($handler, $app['exceptions.repository'], $config); |
43 | 43 | }); |
44 | 44 | |
45 | - $this->app->singleton(Graylog::class, function ($app) use ($config) { |
|
45 | + $this->app->singleton(Graylog::class, function($app) use ($config) { |
|
46 | 46 | $transport = new UdpTransport( |
47 | 47 | $config->get('gelfsupport.host'), |
48 | 48 | $config->get('gelfsupport.port'), |
@@ -91,7 +91,7 @@ |
||
91 | 91 | */ |
92 | 92 | protected function handlesException(Exception $e): Closure |
93 | 93 | { |
94 | - return function (Closure $handler) use ($e) { |
|
94 | + return function(Closure $handler) use ($e) { |
|
95 | 95 | $reflection = new ReflectionFunction($handler); |
96 | 96 | |
97 | 97 | if (!$params = $reflection->getParameters()) { |