Merge remote-tracking branch 'upstream/4.5' into 4.5-master-2015-01-12-16-09-32
[civicrm-core.git] / CRM / Utils / Cache / NoCache.php
index f351560a110c516fa8ebc1ffc614ceda7739bc7a..0d8906069abc1ed314e9523b6381736d49b74bab 100644 (file)
@@ -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;
   }
 }
-