From d1d5bdbb0b5fb1fb10d8154a5247cb2e8e2b87c4 Mon Sep 17 00:00:00 2001 From: Matheus Calegaro Date: Wed, 29 Aug 2018 14:42:23 -0300 Subject: [PATCH] Passing table reference to firePostCreateHook method --- src/Scaffold/MigrationCreator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Scaffold/MigrationCreator.php b/src/Scaffold/MigrationCreator.php index 44a7ba1..30a50db 100644 --- a/src/Scaffold/MigrationCreator.php +++ b/src/Scaffold/MigrationCreator.php @@ -31,7 +31,7 @@ public function create($name, $path, $table = null, $create = true) $this->files->put($path, $this->populateStub($name, $stub, $table)); - $this->firePostCreateHooks(); + $this->firePostCreateHooks($table); return $path; }