From f5d88de70907268665f736b805d9a84d58979317 Mon Sep 17 00:00:00 2001 From: jackson Date: Mon, 10 Sep 2018 00:56:30 +0200 Subject: [PATCH] Replace the "request has been bound" check with an application environment check within the kernel. --- src/Console/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Kernel.php b/src/Console/Kernel.php index 0f270b686448..99bae7a777ca 100644 --- a/src/Console/Kernel.php +++ b/src/Console/Kernel.php @@ -53,7 +53,7 @@ public function __construct(Application $app) { $this->app = $app; - if (! $this->app->bound('request')) { + if ($this->app->runningInConsole()) { $this->setRequestForConsole($this->app); }