From 52394776ffeb7c8c7f73376da8cffa6b43b238bc Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Mon, 27 Jul 2020 19:42:23 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- framework/core/src/Database/Migration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/src/Database/Migration.php b/framework/core/src/Database/Migration.php index 7e4bcb52c..410e05671 100644 --- a/framework/core/src/Database/Migration.php +++ b/framework/core/src/Database/Migration.php @@ -27,7 +27,7 @@ abstract class Migration { return [ 'up' => function (Builder $schema) use ($name, $definition) { - $schema->create($name, function (Blueprint $table) use ($schema, $definition) { + $schema->create($name, function (Blueprint $table) use ($definition) { $definition($table); }); }, @@ -59,7 +59,7 @@ abstract class Migration { return [ 'up' => function (Builder $schema) use ($tableName, $columnDefinitions) { - $schema->table($tableName, function (Blueprint $table) use ($schema, $columnDefinitions) { + $schema->table($tableName, function (Blueprint $table) use ($columnDefinitions) { foreach ($columnDefinitions as $columnName => $options) { $type = array_shift($options); $table->addColumn($type, $columnName, $options);