From 42e277a129cedcb7c693e490eb0dfa0acad32c73 Mon Sep 17 00:00:00 2001 From: The Crypto Date: Sat, 1 Oct 2022 20:46:49 +0700 Subject: [PATCH] fix cant generate fillable MigrationGenerator --- src/Prettus/Repository/Generators/Migrations/SchemaParser.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Prettus/Repository/Generators/Migrations/SchemaParser.php b/src/Prettus/Repository/Generators/Migrations/SchemaParser.php index c97c49ec..14f5751a 100644 --- a/src/Prettus/Repository/Generators/Migrations/SchemaParser.php +++ b/src/Prettus/Repository/Generators/Migrations/SchemaParser.php @@ -116,9 +116,7 @@ public function getSchemas() */ public function getColumn($schema) { - return Arr::first(explode(':', $schema), function ($key, $value) { - return $value; - }); + return Arr::first(explode(':', $schema)); } /**