]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/cache/class_MemoryCache.php
Rewrite continued:
[core.git] / framework / main / classes / cache / class_MemoryCache.php
index c23851ee86d6310eaf3b8a6c0b49bc8c904e4a8f..9966c0731ade4c7d5a0b478dbe756119085883da 100644 (file)
@@ -84,7 +84,7 @@ class MemoryCache extends BaseFrameworkSystem implements Cacheable {
                $exists = $this->dataCache->offsetExists($offset);
 
                // So look for array element?
                $exists = $this->dataCache->offsetExists($offset);
 
                // So look for array element?
-               if (($exists === TRUE) && (!is_null($arrayElement))) {
+               if (($exists === true) && (!is_null($arrayElement))) {
                        // Get it
                        $array = $this->offsetGet($offset);
 
                        // Get it
                        $array = $this->offsetGet($offset);
 
@@ -94,7 +94,7 @@ class MemoryCache extends BaseFrameworkSystem implements Cacheable {
                                $exists = (count($array[$arrayElement]) >= $minimumCount);
                        } else {
                                // Not found
                                $exists = (count($array[$arrayElement]) >= $minimumCount);
                        } else {
                                // Not found
-                               $exists = FALSE;
+                               $exists = false;
                        }
                } // END - if
 
                        }
                } // END - if