From 117fee88c4e1d174686979a10b4ae934dee7997d Mon Sep 17 00:00:00 2001 From: Davy De Coster Date: Mon, 20 Feb 2017 17:10:34 +0100 Subject: [PATCH] Working for Laravel 5.4 --- src/Vinelab/Minion/MinionServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vinelab/Minion/MinionServiceProvider.php b/src/Vinelab/Minion/MinionServiceProvider.php index 330dcf3..40c8cba 100644 --- a/src/Vinelab/Minion/MinionServiceProvider.php +++ b/src/Vinelab/Minion/MinionServiceProvider.php @@ -40,7 +40,7 @@ public function register() // add the minion class and command to the app under the vinelab namespace $this->app->singleton('vinelab.minion', 'Vinelab\Minion\Minion'); - $this->app['vinelab.minion.run'] = $this->app->share(function ($app) { + $this->app->singleton('vinelab.minion.run', function () { $command = new RunCommand(); $command->isLaravel = true; $command->setName('minion:run');