From 36efe1a3dc3a11ad5d0eb701a63e92c0bba2837a Mon Sep 17 00:00:00 2001 From: Darryl Anaud Date: Wed, 6 Sep 2017 16:16:13 +0800 Subject: [PATCH] Change fire to handle to make it compatible with laravel 5.5 --- src/Franzose/ClosureTable/Console/ClosureTableCommand.php | 2 +- src/Franzose/ClosureTable/Console/MakeCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Franzose/ClosureTable/Console/ClosureTableCommand.php b/src/Franzose/ClosureTable/Console/ClosureTableCommand.php index 537dcf6..072bec6 100644 --- a/src/Franzose/ClosureTable/Console/ClosureTableCommand.php +++ b/src/Franzose/ClosureTable/Console/ClosureTableCommand.php @@ -30,7 +30,7 @@ class ClosureTableCommand extends Command * * @return void */ - public function fire() + public function handle() { $this->info('ClosureTable v' . CT::VERSION); $this->line('Closure Table database design pattern implementation for Laravel framework.'); diff --git a/src/Franzose/ClosureTable/Console/MakeCommand.php b/src/Franzose/ClosureTable/Console/MakeCommand.php index 334acf9..5d102ef 100644 --- a/src/Franzose/ClosureTable/Console/MakeCommand.php +++ b/src/Franzose/ClosureTable/Console/MakeCommand.php @@ -78,7 +78,7 @@ public function __construct(Migration $migrator, Model $modeler, Composer $compo * * @return void */ - public function fire() + public function handle() { $this->prepareOptions(); $this->writeMigrations();