Merge pull request #4789 from totten/master-test-tx
[civicrm-core.git] / CRM / Utils / Cache / NoCache.php
index d85145d609ea93def2a61d99364659c24236fcf4..f351560a110c516fa8ebc1ffc614ceda7739bc7a 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -47,25 +47,44 @@ 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 void
+   * @return \CRM_Utils_Cache_NoCache
    */
   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;
   }