From 89bf4951cfc6ca59526f0360fd2ae3e0546f962c Mon Sep 17 00:00:00 2001 From: Leandro Henrique Reis Date: Sat, 9 Sep 2017 00:51:10 -0300 Subject: [PATCH] compatible with laravel 5.5 (#8) * compatible with laravel 5.5 * up --- src/Console/BaseCommand.php | 4 ++++ src/Console/ResetCommand.php | 5 +++++ src/Console/RollbackCommand.php | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/src/Console/BaseCommand.php b/src/Console/BaseCommand.php index 291aa3a..510ddc4 100755 --- a/src/Console/BaseCommand.php +++ b/src/Console/BaseCommand.php @@ -7,4 +7,8 @@ class BaseCommand extends Command { // Empty Base Command. + public function handle() + { + return $this->fire(); + } } diff --git a/src/Console/ResetCommand.php b/src/Console/ResetCommand.php index 851d191..5d8285c 100755 --- a/src/Console/ResetCommand.php +++ b/src/Console/ResetCommand.php @@ -44,6 +44,11 @@ public function __construct(Migrator $migrator) $this->migrator = $migrator; } + public function handle() + { + return $this->fire(); + } + /** * Execute the console command. * diff --git a/src/Console/RollbackCommand.php b/src/Console/RollbackCommand.php index c11b0b1..61963bf 100755 --- a/src/Console/RollbackCommand.php +++ b/src/Console/RollbackCommand.php @@ -69,6 +69,11 @@ public function fire() } } + public function handle() + { + return $this->fire(); + } + /** * Get the console command options. *