@@ -52,13 +52,13 @@ |
||
52 | 52 | { |
53 | 53 | $app['config']->set('conditional-debugbar.debugbar-boot-validator', TestingDebugBarBootValidator::class); |
54 | 54 | $app['config']->set('debugbar.except', ['excluded/*']); |
55 | - $app['router']->get('excluded/page', ['uses' => function () { |
|
55 | + $app['router']->get('excluded/page', ['uses' => function() { |
|
56 | 56 | return $this->blank_page; |
57 | 57 | }])->middleware(OptionalDebugBar::class); |
58 | - $app['router']->get('/excluded/another-page', ['uses' => function () { |
|
58 | + $app['router']->get('/excluded/another-page', ['uses' => function() { |
|
59 | 59 | return $this->blank_page; |
60 | 60 | }])->middleware(OptionalDebugBar::class); |
61 | - $app['router']->get('included/page', ['uses' => function () { |
|
61 | + $app['router']->get('included/page', ['uses' => function() { |
|
62 | 62 | return $this->blank_page; |
63 | 63 | }])->middleware(OptionalDebugBar::class); |
64 | 64 | } |
@@ -37,7 +37,7 @@ |
||
37 | 37 | protected function getEnvironmentSetUp($app) |
38 | 38 | { |
39 | 39 | $app['config']->set('conditional-debugbar.debugbar-boot-validator', TestingDebugBarBootValidator::class); |
40 | - $app['router']->get('page-with-middleware', ['uses' => function () { |
|
40 | + $app['router']->get('page-with-middleware', ['uses' => function() { |
|
41 | 41 | throw new Exception('Test Exception'); |
42 | 42 | return $this->blank_page; |
43 | 43 | }])->middleware(OptionalDebugBar::class); |