| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 12 | class VisitServiceProvider extends ServiceProvider |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Bootstrap the application services. |
||
| 16 | * |
||
| 17 | * @return void |
||
| 18 | */ |
||
| 19 | public function boot() |
||
| 20 | { |
||
| 21 | $this->publishes([ |
||
|
|
|||
| 22 | __DIR__.'/../migrations/create_visits_table.php.stub' => database_path('migrations/'.date('Y_m_d_His').'_create_visits_table.php'), |
||
| 23 | ], 'migrations'); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Register the application services. |
||
| 28 | * |
||
| 29 | * @return void |
||
| 30 | */ |
||
| 31 | public function register() |
||
| 33 | // code... |
||
| 34 | } |
||
| 36 |
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.