Skip to content

Commit 04708b7

Browse files
committed
Fix PHPStan error in CakeManager
Added PHPStan ignore comment for setMigrations() call since we now support both AbstractMigration and BaseMigration which both implement MigrationInterface, but the parent method expects specifically AbstractMigration[].
1 parent d9848a2 commit 04708b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CakeManager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ function ($phpFile) {
472472
}
473473

474474
ksort($versions);
475+
/** @phpstan-ignore-next-line argument.type */
475476
$this->setMigrations($versions);
476477
}
477478

0 commit comments

Comments
 (0)