From 1f8a34a3aec182da6ed13d1567fd121cac4078ba Mon Sep 17 00:00:00 2001 From: kenjis Date: Mon, 29 Jan 2024 16:07:56 +0900 Subject: [PATCH] refactor: use CodeIgniter\Exceptions\InvalidArgumentException --- system/Common.php | 1 + system/Helpers/filesystem_helper.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/system/Common.php b/system/Common.php index 9509cbab12da..0990eecd77ab 100644 --- a/system/Common.php +++ b/system/Common.php @@ -20,6 +20,7 @@ use CodeIgniter\Database\BaseConnection; use CodeIgniter\Database\ConnectionInterface; use CodeIgniter\Debug\Timer; +use CodeIgniter\Exceptions\InvalidArgumentException; use CodeIgniter\Files\Exceptions\FileNotFoundException; use CodeIgniter\HTTP\CLIRequest; use CodeIgniter\HTTP\Exceptions\HTTPException; diff --git a/system/Helpers/filesystem_helper.php b/system/Helpers/filesystem_helper.php index e4e78aa82ab8..0a546792e639 100644 --- a/system/Helpers/filesystem_helper.php +++ b/system/Helpers/filesystem_helper.php @@ -11,6 +11,8 @@ * the LICENSE file that was distributed with this source code. */ +use CodeIgniter\Exceptions\InvalidArgumentException; + // CodeIgniter File System Helpers if (! function_exists('directory_map')) {