Skip to content

Commit

Permalink
Use array_get
Browse files Browse the repository at this point in the history
  • Loading branch information
marktopper committed Jan 25, 2018
1 parent 6da4b3d commit 779ad2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected function rollbackMigrationsByFiles(array $migrations, $files, array $o

$this->runDown(
$file, $migration,
$options['pretend'] ?? false
array_get($options, 'pretend', false)
);
}

Expand Down

0 comments on commit 779ad2a

Please sign in to comment.