Merge pull request #5049 from totten/master-mailing-multiling
[civicrm-core.git] / CRM / Utils / Cache / SqlGroup.php
index 62a76d89ab2ba669d311dd927e2ffcdcbad899bf..5d3d5322586e030c4409361672d8a810e2d14fb2 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -41,7 +41,7 @@
 class CRM_Utils_Cache_SqlGroup implements CRM_Utils_Cache_Interface {
 
   /**
-   * The host name of the memcached server
+   * The host name of the memcached server.
    *
    * @var string
    */
@@ -58,7 +58,7 @@ class CRM_Utils_Cache_SqlGroup implements CRM_Utils_Cache_Interface {
   protected $frontCache;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param array $config
    *   An array of configuration params.
@@ -103,7 +103,7 @@ class CRM_Utils_Cache_SqlGroup implements CRM_Utils_Cache_Interface {
    * @return mixed
    */
   public function get($key) {
-    if (! array_key_exists($key, $this->frontCache)) {
+    if (!array_key_exists($key, $this->frontCache)) {
       $this->frontCache[$key] = CRM_Core_BAO_Cache::getItem($this->group, $key, $this->componentID);
     }
     return $this->frontCache[$key];
@@ -135,4 +135,5 @@ class CRM_Utils_Cache_SqlGroup implements CRM_Utils_Cache_Interface {
   public function prefetch() {
     $this->frontCache = CRM_Core_BAO_Cache::getItems($this->group, $this->componentID);
   }
+
 }