mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 12:35:44 +08:00
Apply fixes from StyleCI
This commit is contained in:
parent
b015a66456
commit
a286e2a829
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user