1 | <?php |
||||||||||
2 | namespace BeyondCode\QueryDetector; |
||||||||||
3 | |||||||||||
4 | use Illuminate\Support\ServiceProvider; |
||||||||||
5 | |||||||||||
6 | class LumenQueryDetectorServiceProvider extends ServiceProvider |
||||||||||
7 | { |
||||||||||
8 | |||||||||||
9 | public function register() |
||||||||||
10 | { |
||||||||||
11 | $this->app->configure('querydetector'); |
||||||||||
0 ignored issues
–
show
|
|||||||||||
12 | $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'querydetector'); |
||||||||||
13 | |||||||||||
14 | $this->app->middleware([ |
||||||||||
0 ignored issues
–
show
The method
middleware() does not exist on Illuminate\Contracts\Fou...ion\CachesConfiguration .
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
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. ![]() The method
middleware() does not exist on Illuminate\Contracts\Foundation\Application .
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
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. ![]() |
|||||||||||
15 | QueryDetectorMiddleware::class |
||||||||||
16 | ]); |
||||||||||
17 | |||||||||||
18 | $this->app->singleton(QueryDetector::class); |
||||||||||
19 | $this->app->alias(QueryDetector::class, 'querydetector'); |
||||||||||
20 | } |
||||||||||
21 | } |
||||||||||
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.