mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +02:00
Apply fixes from StyleCI
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user