From 946760a583c3dcf051107717a432ec99232ec200 Mon Sep 17 00:00:00 2001 From: Lonnie Ezell Date: Sun, 24 Jun 2018 22:41:49 -0500 Subject: [PATCH] Remove URI from clirequest service. Fixes #1082 --- system/Config/Services.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/system/Config/Services.php b/system/Config/Services.php index 8a6fcea286b2..54b7ca9278fe 100644 --- a/system/Config/Services.php +++ b/system/Config/Services.php @@ -127,9 +127,7 @@ public static function clirequest(\Config\App $config = null, $getShared = true) $config = new \Config\App(); } - return new \CodeIgniter\HTTP\CLIRequest( - $config, new \CodeIgniter\HTTP\URI() - ); + return new \CodeIgniter\HTTP\CLIRequest($config); } //--------------------------------------------------------------------