From 394cfe7a25e8d1297ba56bf618ca67569d52e6b6 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Tue, 26 Jun 2018 08:15:21 +0100 Subject: [PATCH] Fix execute method --- app/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers.php b/app/helpers.php index ce7b89a2..c64dfe09 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -171,6 +171,6 @@ if (!function_exists('execute')) { */ function execute($command) { - app(Dispatcher::class)->execute($command); + return app(Dispatcher::class)->dispatchNow($command); } }