| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 59 | protected function getMigrationFileName(Filesystem $filesystem): string |
||
| 60 | { |
||
| 61 | $timestamp = date('Y_m_d_His'); |
||
| 62 | return Collection::make($this->app->databasePath() . DIRECTORY_SEPARATOR . 'migrations' . DIRECTORY_SEPARATOR) |
||
| 63 | ->flatMap(function ($path) use ($filesystem) { |
||
| 64 | return $filesystem->glob($path.'*_create_robots_tables.php'); |
||
| 65 | })->push($this->app->databasePath()."/migrations/{$timestamp}_create_robots_tables.php") |
||
| 66 | ->first(); |
||
| 67 | } |
||
| 69 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.