Completed
Branch master (3d1bb4)
by Christoph, René
03:29
created
Category
src/GelfSupportServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,11 +38,11 @@
 block discarded – undo
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'),
Please login to merge, or discard this patch.
src/ExceptionHandlerRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
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()) {
Please login to merge, or discard this patch.