App::isset(): remove unused parameter $config
This commit is contained in:
parent
eea359056b
commit
7e8b6ee5f2
1 changed files with 1 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue