diff --git a/cake/libs/cache.php b/cake/libs/cache.php index 956832962..af4abec38 100644 --- a/cake/libs/cache.php +++ b/cake/libs/cache.php @@ -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])) { diff --git a/cake/tests/cases/libs/cache.test.php b/cake/tests/cases/libs/cache.test.php index c440b0e58..8d0e7e996 100644 --- a/cake/tests/cases/libs/cache.test.php +++ b/cake/tests/cases/libs/cache.test.php @@ -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),