File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -276,10 +276,11 @@ private function updateMigratedVersionsFromV1orV2toV3(): void
276
276
277
277
private function isAlreadyV3Format (AvailableMigration $ availableMigration , ExecutedMigration $ executedMigration ): bool
278
278
{
279
- return strpos (
280
- (string ) $ availableMigration ->getVersion (),
281
- (string ) $ executedMigration ->getVersion (),
282
- ) !== strlen ((string ) $ availableMigration ->getVersion ()) -
283
- strlen ((string ) $ executedMigration ->getVersion ());
279
+ return $ availableMigration ->getVersion () !== $ executedMigration ->getVersion ()
280
+ && strpos (
281
+ (string ) $ availableMigration ->getVersion (),
282
+ (string ) $ executedMigration ->getVersion (),
283
+ ) !== strlen ((string ) $ availableMigration ->getVersion ()) -
284
+ strlen ((string ) $ executedMigration ->getVersion ());
284
285
}
285
286
}
You can’t perform that action at this time.
0 commit comments