| Conditions | 3 |
| Paths | 4 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function boot() |
||
| 13 | { |
||
| 14 | if (!class_exists('CreateTaxesTables')) { |
||
| 15 | $timestamp = date('Y_m_d_His', time()); |
||
| 16 | $this->publishes([ |
||
| 17 | __DIR__.'/../database/migrations/create_taxes_tables.php.stub' => $this->app->databasePath()."/migrations/{$timestamp}_create_taxes_tables.php", |
||
|
|
|||
| 18 | ], 'migrations'); |
||
| 19 | } |
||
| 20 | |||
| 21 | if ($this->app->runningInConsole()) { |
||
| 22 | $this->publishes([ |
||
| 23 | __DIR__.'/../config/tax.php' => config_path('tax.php'), |
||
| 24 | ], 'config'); |
||
| 25 | } |
||
| 26 | } |
||
| 27 | |||
| 36 |
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.