Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
39 | protected function getEnvironmentSetUp($app) |
||
40 | { |
||
41 | $app['session']->flush(); |
||
42 | $app['router']->get('sample-page', ['uses' => function () { |
||
43 | return $this->blank_page; |
||
44 | }]); |
||
45 | $app['router']->get('page-with-middleware', ['uses' => function () { |
||
46 | return $this->blank_page; |
||
47 | }])->middleware(OptionalDebugBar::class); |
||
48 | } |
||
50 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.