mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing doc blocks.
This commit is contained in:
parent
70820e2e96
commit
b7e7eff738
2 changed files with 5 additions and 5 deletions
|
@ -126,7 +126,7 @@ class Cache {
|
|||
* Returns an array containing the currently configured Cache settings.
|
||||
*
|
||||
* @return array
|
||||
**/
|
||||
*/
|
||||
function configured() {
|
||||
$_this = Cache::getInstance();
|
||||
return array_keys($_this->__config);
|
||||
|
@ -139,7 +139,7 @@ class Cache {
|
|||
*
|
||||
* @param string $name A currently configured cache config you wish to remove.
|
||||
* @return boolen success of the removal, returns false when the config does not exist.
|
||||
**/
|
||||
*/
|
||||
function drop($name) {
|
||||
$_this = Cache::getInstance();
|
||||
if (!isset($_this->__config[$name])) {
|
||||
|
|
|
@ -75,7 +75,7 @@ class CacheTest extends CakeTestCase {
|
|||
* test configuring CacheEngines in App/libs
|
||||
*
|
||||
* @return void
|
||||
**/
|
||||
*/
|
||||
function testConfigWithLibAndPluginEngines() {
|
||||
App::build(array(
|
||||
'libs' => array(TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'libs' . DS),
|
||||
|
@ -167,7 +167,7 @@ class CacheTest extends CakeTestCase {
|
|||
* settings
|
||||
*
|
||||
* @return void
|
||||
**/
|
||||
*/
|
||||
function testConfigured() {
|
||||
$result = Cache::configured();
|
||||
$this->assertTrue(in_array('_cake_core_', $result));
|
||||
|
@ -204,7 +204,7 @@ class CacheTest extends CakeTestCase {
|
|||
* do not work.
|
||||
*
|
||||
* @return void
|
||||
**/
|
||||
*/
|
||||
function testUnconfig() {
|
||||
App::build(array(
|
||||
'libs' => array(TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'libs' . DS),
|
||||
|
|
Loading…
Reference in a new issue