| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 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 | } |
||
| 22 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.