App::isset(): remove unused parameter $config

This commit is contained in:
Benjamin Renard 2023-02-27 17:44:19 +01:00
parent eea359056b
commit 7e8b6ee5f2
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -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));
}