]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/cache/class_MemoryCache.php
Some cleanups, more usage of ObjectFactory:
[core.git] / inc / classes / main / cache / class_MemoryCache.php
index d7d78864295c469bfaf45bae908c84abaf57624b..a38a65bab97d0290753aca47b9dd007021bc3e12 100644 (file)
@@ -25,7 +25,7 @@ class MemoryCache extends BaseFrameworkSystem implements Cacheable {
        /**
         * The "memory cache" is simply a wrapped object array
         */
-       private $dataCache = null;
+       private $dataCache = NULL;
 
        /**
         * Protected constructor
@@ -93,7 +93,7 @@ class MemoryCache extends BaseFrameworkSystem implements Cacheable {
         */
        public final function offsetGet ($offset) {
                // Default is offset not found
-               $data = null;
+               $data = NULL;
 
                // Is the offset there?
                if ($this->offsetExists($offset)) {