Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Feb 6, 2025
1 parent 24466f7 commit eca6711
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Migrations/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ protected function pendingMigrations($files, $ran)
$migrationsToSkip = $this->migrationsToSkip();

return (new Collection($files))
->reject(fn ($file) =>
in_array($migrationName = $this->getMigrationName($file), $ran) ||
->reject(fn ($file) => in_array($migrationName = $this->getMigrationName($file), $ran) ||
in_array($migrationName, $migrationsToSkip)
)
->values()
Expand Down

0 comments on commit eca6711

Please sign in to comment.