Skip to content

Commit

Permalink
Merge pull request #1423 from greg0ire/fix-cs
Browse files Browse the repository at this point in the history
Comply with the latest coding standards
  • Loading branch information
greg0ire authored Apr 22, 2024
2 parents 954e0a3 + 4979cee commit 76a1573
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function getPlanForVersions(array $versions, string $direction): Migratio
$availableMigrations = array_filter(
$migrationsToCheck,
// in_array third parameter is intentionally false to force object to string casting
static fn (AvailableMigration $availableMigration): bool => in_array($availableMigration->getVersion(), $versions, false)
static fn (AvailableMigration $availableMigration): bool => in_array($availableMigration->getVersion(), $versions, false),
);

$planItems = array_map(static fn (AvailableMigration $availableMigration): MigrationPlan => new MigrationPlan($availableMigration->getVersion(), $availableMigration->getMigration(), $direction), $availableMigrations);
Expand Down

0 comments on commit 76a1573

Please sign in to comment.