X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Fcache%2Fclass_MemoryCache.php;h=9966c0731ade4c7d5a0b478dbe756119085883da;hp=c23851ee86d6310eaf3b8a6c0b49bc8c904e4a8f;hb=146c8b3c929a1b0ab17d6605e5ae949ac44899c1;hpb=d5dc929cca6a35725ff7af3446e2764e6c739d81 diff --git a/framework/main/classes/cache/class_MemoryCache.php b/framework/main/classes/cache/class_MemoryCache.php index c23851ee..9966c073 100644 --- a/framework/main/classes/cache/class_MemoryCache.php +++ b/framework/main/classes/cache/class_MemoryCache.php @@ -84,7 +84,7 @@ class MemoryCache extends BaseFrameworkSystem implements Cacheable { $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); @@ -94,7 +94,7 @@ class MemoryCache extends BaseFrameworkSystem implements Cacheable { $exists = (count($array[$arrayElement]) >= $minimumCount); } else { // Not found - $exists = FALSE; + $exists = false; } } // END - if