Merge pull request #4789 from totten/master-test-tx
[civicrm-core.git] / CRM / Utils / Cache / NoCache.php
index cf700d73803518578cdebf83a8d2f35d30b83a87..f351560a110c516fa8ebc1ffc614ceda7739bc7a 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -54,18 +54,37 @@ class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface {
   function __construct($config) {
   }
 
+  /**
+   * @param string $key
+   * @param mixed $value
+   *
+   * @return bool
+   */
   function set($key, &$value) {
     return FALSE;
   }
 
+  /**
+   * @param string $key
+   *
+   * @return null
+   */
   function get($key) {
     return NULL;
   }
 
+  /**
+   * @param string $key
+   *
+   * @return bool
+   */
   function delete($key) {
     return FALSE;
   }
 
+  /**
+   * @return bool
+   */
   function flush() {
     return FALSE;
   }