From 32bbe272a4d7bd0a9f785268b46e9e3ebcee4ae2 Mon Sep 17 00:00:00 2001 From: Cristian Tabacitu Date: Wed, 30 Aug 2017 21:14:28 +0300 Subject: [PATCH] added support for laravel 5.5 --- src/Commands/MigrationMakeCommand.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Commands/MigrationMakeCommand.php b/src/Commands/MigrationMakeCommand.php index c083259..800d1e5 100644 --- a/src/Commands/MigrationMakeCommand.php +++ b/src/Commands/MigrationMakeCommand.php @@ -60,6 +60,17 @@ public function __construct(Filesystem $files) $this->composer = app()['composer']; } + /** + * Alias for the fire method. + * + * In Laravel 5.5 the fire() method has been renamed to handle(). + * This alias provides support for both Laravel 5.4 and 5.5. + */ + public function handle() + { + $this->fire(); + } + /** * Execute the console command. *