| Conditions | 2 |
| Paths | 2 |
| Total Lines | 20 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | protected function publishResources() |
||
| 33 | { |
||
| 34 | // Config |
||
| 35 | $this->publishes([ |
||
| 36 | __DIR__.'/../config/seoable.php' => config_path('seoable.php'), |
||
| 37 | ], 'config'); |
||
| 38 | |||
| 39 | // Database |
||
| 40 | if (! class_exists('CreateSeoTable')) { |
||
| 41 | // Publish the migration |
||
| 42 | $timestamp = date('Y_m_d_His', time()); |
||
| 43 | $this->publishes([ |
||
| 44 | __DIR__.'/../database/migrations/create_seo_table.php.stub' => $this->app->databasePath().'/migrations/'.$timestamp.'_create_seo_table.php', |
||
|
|
|||
| 45 | ], 'migrations'); |
||
| 46 | } |
||
| 47 | |||
| 48 | $this->publishes([ |
||
| 49 | __DIR__.'/../resources/lang' => resource_path('lang/vendor/seoable'), |
||
| 50 | ], 'lang'); |
||
| 51 | } |
||
| 52 | } |
||
| 53 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.