1 | <?php |
||||||
2 | |||||||
3 | namespace BukanKalengKaleng\LaravelRebuild; |
||||||
4 | |||||||
5 | use BukanKalengKaleng\LaravelRebuild\Console\Commands\Rebuild; |
||||||
6 | use Illuminate\Support\ServiceProvider; |
||||||
7 | |||||||
8 | class LaravelRebuildServiceProvider extends ServiceProvider |
||||||
9 | { |
||||||
10 | /** |
||||||
11 | * Bootstrap services. |
||||||
12 | * |
||||||
13 | * @return void |
||||||
14 | */ |
||||||
15 | public function boot() |
||||||
16 | { |
||||||
17 | if ($this->app->runningInConsole()) { |
||||||
0 ignored issues
–
show
|
|||||||
18 | $this->commands([ |
||||||
0 ignored issues
–
show
The method
commands() does not exist on BukanKalengKaleng\Larave...lRebuildServiceProvider .
(
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. ![]() |
|||||||
19 | Rebuild::class, |
||||||
20 | ]); |
||||||
21 | } |
||||||
22 | |||||||
23 | $this->publishes([ |
||||||
0 ignored issues
–
show
The method
publishes() does not exist on BukanKalengKaleng\Larave...lRebuildServiceProvider .
(
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. ![]() |
|||||||
24 | __DIR__.'/../config/rebuild.php' => config_path('rebuild.php'), |
||||||
25 | ], 'laravel-rebuild'); |
||||||
26 | |||||||
27 | $this->mergeConfigFrom(__DIR__.'/../config/rebuild.php', 'rebuild'); |
||||||
0 ignored issues
–
show
The method
mergeConfigFrom() does not exist on BukanKalengKaleng\Larave...lRebuildServiceProvider .
(
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. ![]() |
|||||||
28 | } |
||||||
29 | |||||||
30 | /** |
||||||
31 | * Register services. |
||||||
32 | * |
||||||
33 | * @return void |
||||||
34 | */ |
||||||
35 | public function register() |
||||||
36 | { |
||||||
37 | // |
||||||
38 | } |
||||||
39 | } |
||||||
40 |
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.