From 7e8b6ee5f27016908e5c81251e50c710a872e788 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 27 Feb 2023 17:44:19 +0100 Subject: [PATCH] App::isset(): remove unused parameter $config --- src/App.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/App.php b/src/App.php index 41045b4..7fa6480 100644 --- a/src/App.php +++ b/src/App.php @@ -95,10 +95,9 @@ class App { * Check if a specific configuration variable is set * * @param string $key The configuration variable key - * @param array|null $config Optional configuration to use instead of current loaded configuration * @return bool **/ - public static function isset($key, &$config=null) { + public static function isset($key) { return Config::isset($key, self :: $options) || (Config::loaded() && Config::isset($key)); }