| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public function register() |
||
| 10 | { |
||
| 11 | $this->app->configure('querydetector'); |
||
|
|
|||
| 12 | $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'querydetector'); |
||
| 13 | |||
| 14 | $this->app->middleware([ |
||
| 15 | QueryDetectorMiddleware::class |
||
| 16 | ]); |
||
| 17 | |||
| 18 | $this->app->singleton(QueryDetector::class); |
||
| 19 | $this->app->alias(QueryDetector::class, 'querydetector'); |
||
| 20 | } |
||
| 21 | } |
||
| 22 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.