mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
test failed. reverted and corrected doc block instead for BC.
This commit is contained in:
parent
1caf1cac4b
commit
8f0e203fb5
1 changed files with 4 additions and 2 deletions
|
@ -287,7 +287,7 @@ class Configure {
|
|||
* @param string $key name of configuration resource to load.
|
||||
* @param string $config Name of the configured reader to use to read the resource identified by $key.
|
||||
* @param boolean $merge if config files should be merged instead of simply overridden
|
||||
* @return mixed false if file not found, void if load successful.
|
||||
* @return boolean False if file not found, true if load successful.
|
||||
* @throws ConfigureException Will throw any exceptions the reader raises.
|
||||
*/
|
||||
public static function load($key, $config = 'default', $merge = true) {
|
||||
|
@ -306,7 +306,7 @@ class Configure {
|
|||
}
|
||||
}
|
||||
|
||||
self::write($values);
|
||||
return self::write($values);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -424,6 +424,7 @@ class Configure {
|
|||
self::$_values = array();
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the error and exception handlers.
|
||||
*
|
||||
|
@ -444,4 +445,5 @@ class Configure {
|
|||
set_exception_handler($exception['handler']);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue