1 | <?php |
||
2 | |||
3 | namespace Hayrullah\Likes; |
||
4 | |||
5 | use Illuminate\Support\ServiceProvider; |
||
6 | |||
7 | /** |
||
8 | * |
||
9 | * @license MIT |
||
10 | * @package Hayrullah/laravel-likes |
||
11 | * |
||
12 | * Copyright @2020 Zaher Khirullah |
||
13 | */ |
||
14 | class LikeServiceProvider extends ServiceProvider |
||
15 | { |
||
16 | /** |
||
17 | * Bootstrap the application services. |
||
18 | * |
||
19 | * @return void |
||
20 | */ |
||
21 | public function boot() |
||
22 | { |
||
23 | $this->publishes([ |
||
0 ignored issues
–
show
|
|||
24 | __DIR__.'/../migrations/create_likes_table.php.stub' => database_path('migrations/'.date('Y_m_d_His').'_create_likes_table.php'), |
||
25 | ], 'migrations'); |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Register the application services. |
||
30 | * |
||
31 | * @return void |
||
32 | */ |
||
33 | public function register() |
||
34 | { |
||
35 | // |
||
36 | } |
||
37 | } |
||
38 |
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.