X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FCache%2FNoCache.php;h=0d8906069abc1ed314e9523b6381736d49b74bab;hb=7d86179d7d8e91160bbb5e6643fa265198a99a2d;hp=f351560a110c516fa8ebc1ffc614ceda7739bc7a;hpb=39de6fd54b9843705d13cb9f70fbcc6296103670;p=civicrm-core.git diff --git a/CRM/Utils/Cache/NoCache.php b/CRM/Utils/Cache/NoCache.php index f351560a11..0d8906069a 100644 --- a/CRM/Utils/Cache/NoCache.php +++ b/CRM/Utils/Cache/NoCache.php @@ -32,7 +32,6 @@ * $Id$ * */ - class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface { /** @@ -47,11 +46,12 @@ class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface { /** * Constructor * - * @param array $config an array of configuration params + * @param array $config + * An array of configuration params. * * @return \CRM_Utils_Cache_NoCache */ - function __construct($config) { + public function __construct($config) { } /** @@ -60,7 +60,7 @@ class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface { * * @return bool */ - function set($key, &$value) { + public function set($key, &$value) { return FALSE; } @@ -69,7 +69,7 @@ class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface { * * @return null */ - function get($key) { + public function get($key) { return NULL; } @@ -78,15 +78,14 @@ class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface { * * @return bool */ - function delete($key) { + public function delete($key) { return FALSE; } /** * @return bool */ - function flush() { + public function flush() { return FALSE; } } -