Merge branch '3.5'

This commit is contained in:
Dylan K. Taylor
2019-01-04 00:37:48 +00:00
9 changed files with 49 additions and 30 deletions

View File

@ -265,7 +265,7 @@ class Config{
}
/**
* @param $k
* @param string $k
*
* @return bool|mixed
*/
@ -274,15 +274,15 @@ class Config{
}
/**
* @param $k
* @param $v
* @param string $k
* @param mixed $v
*/
public function __set($k, $v){
$this->set($k, $v);
}
/**
* @param $k
* @param string $k
*
* @return bool
*/
@ -291,15 +291,15 @@ class Config{
}
/**
* @param $k
* @param string $k
*/
public function __unset($k){
$this->remove($k);
}
/**
* @param $key
* @param $value
* @param string $key
* @param mixed $value
*/
public function setNested($key, $value){
$vars = explode(".", $key);
@ -325,8 +325,8 @@ class Config{
}
/**
* @param $key
* @param mixed $default
* @param string $key
* @param mixed $default
*
* @return mixed
*/
@ -377,8 +377,8 @@ class Config{
}
/**
* @param $k
* @param mixed $default
* @param string $k
* @param mixed $default
*
* @return bool|mixed
*/
@ -409,8 +409,8 @@ class Config{
}
/**
* @param $k
* @param bool $lowercase If set, searches Config in single-case / lowercase.
* @param string $k
* @param bool $lowercase If set, searches Config in single-case / lowercase.
*
* @return bool
*/
@ -425,7 +425,7 @@ class Config{
}
/**
* @param $k
* @param string $k
*/
public function remove($k){
unset($this->config[$k]);