@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | */ |
15 | 15 | public function register() |
16 | 16 | { |
17 | - $this->app->singleton(ContextManager::class, function ($app) { |
|
17 | + $this->app->singleton(ContextManager::class, function($app) { |
|
18 | 18 | return new ContextManager(); |
19 | 19 | }); |
20 | 20 | } |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | // so we have to bind $this->app to a variable here instead. |
33 | 33 | $app = $this->app; |
34 | 34 | |
35 | - $this->app['request']->macro('context', function () use ($app) { |
|
35 | + $this->app['request']->macro('context', function() use ($app) { |
|
36 | 36 | return $app[ContextManager::class]; |
37 | 37 | }); |
38 | 38 | } |