Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
10 | public function boot() |
||
11 | { |
||
12 | $this->publishes([ |
||
13 | __DIR__.'/../config/slugmaker.php' => $this->app->configPath().'/slugmaker.php', |
||
|
|||
14 | ], 'slugmaker-config'); |
||
15 | |||
16 | if (! class_exists('CreateSlugsTable')) { |
||
17 | $timestamp = date('Y_m_d_His', time()); |
||
18 | |||
19 | $this->publishes([ |
||
20 | __DIR__.'/../database/migrations/create_slugs_table.php.stub' => $this->app->databasePath()."/migrations/{$timestamp}_create_slugs_table.php", |
||
21 | ], 'slugmaker-migrations'); |
||
22 | } |
||
34 |
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.