Skip to content

Commit 779ad2a

Browse files
committed
Use array_get
1 parent 6da4b3d commit 779ad2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Migrator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ protected function rollbackMigrationsByFiles(array $migrations, $files, array $o
8888

8989
$this->runDown(
9090
$file, $migration,
91-
$options['pretend'] ?? false
91+
array_get($options, 'pretend', false)
9292
);
9393
}
9494

0 commit comments

Comments
 (0)