Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot 2022-11-21 13:28:11 +00:00
parent b015a66456
commit a286e2a829
No known key found for this signature in database
GPG Key ID: E498B15EE66C8CB3

View File

@ -128,7 +128,7 @@ class Migrator
// If a "when" callback in defined in a migration array, a falsy return value will cause the migration to skip
if (is_array($migration) && array_key_exists('when', $migration)) {
if (!call_user_func($migration['when'], $this->connection->getSchemaBuilder())) {
if (! call_user_func($migration['when'], $this->connection->getSchemaBuilder())) {
$this->note("<info>Skipped:</info> $file");
return;