1
0
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:
StyleCI Bot
2022-11-21 13:28:11 +00:00
parent b015a66456
commit a286e2a829

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;