| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function register() |
||
| 33 | { |
||
| 34 | $this->app['gitter.middlewares'] = $this->app->share(function($app) { |
||
|
|
|||
| 35 | $builder = app(MiddlewareBuilder::class); |
||
| 36 | |||
| 37 | $builder->registerMiddleware(GoogleSearchMiddleware::class); |
||
| 38 | $builder->registerMiddleware(KarmaCounterMiddleware::class); |
||
| 39 | $builder->registerMiddleware(EloquentQueryBuilderMiddleware::class); |
||
| 40 | |||
| 41 | return $builder; |
||
| 42 | }); |
||
| 43 | |||
| 44 | $this->app->instance(MiddlewareBuilder::class, $this->app->make('gitter.middlewares')); |
||
| 45 | } |
||
| 46 | } |
||
| 47 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.