Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function boot() |
||
15 | { |
||
16 | $this->publishes([ |
||
17 | __DIR__ . '/../config/promocodes.php' => config_path('promocodes.php'), |
||
18 | ]); |
||
19 | |||
20 | if (!class_exists('CreatePromocodesTable')) { |
||
21 | $timestamp = date('Y_m_d_His', time()); |
||
22 | |||
23 | $this->publishes([ |
||
24 | __DIR__ . '/../migrations/create_promocodes_table.php.stub' => database_path("/migrations/{$timestamp}_create_promocodes_table.php"), |
||
25 | ], 'migrations'); |
||
26 | } |
||
27 | } |
||
28 | |||
45 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.