diff --git a/framework/core/src/Database/Migrator.php b/framework/core/src/Database/Migrator.php index a7b44ce4c..c73aaf815 100644 --- a/framework/core/src/Database/Migrator.php +++ b/framework/core/src/Database/Migrator.php @@ -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("Skipped: $file"); return;