| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function boot() |
||
| 30 | { |
||
| 31 | // Laravel takes over `$this` context over in the macro closure, |
||
| 32 | // so we have to bind $this->app to a variable here instead. |
||
| 33 | $app = $this->app; |
||
| 34 | |||
| 35 | $this->app['request']->macro('context', function () use ($app) { |
||
| 36 | return $app[ContextManager::class]; |
||
| 37 | }); |
||
| 40 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.