Some cleanups, more usage of ObjectFactory:
[core.git] / inc / classes / main / registry / class_BaseRegistry.php
index 6330331d46b1b8fb983cc7eb8ccd4f7d83175be2..390d2c67bfcc9025bc80ea3656d754d9e6eda41f 100644 (file)
@@ -25,7 +25,7 @@ class BaseRegistry extends BaseFrameworkSystem implements Registerable {
        /**
         * Instance of this class
         */
-       private static $registryInstance = null;
+       private static $registryInstance = NULL;
 
        /**
         * Instance registry
@@ -100,7 +100,7 @@ class BaseRegistry extends BaseFrameworkSystem implements Registerable {
         *
         * @return      $entries        An array with entries from this registry
         */
-       public final function getEntries ($key = null) {
+       public final function getEntries ($key = NULL) {
                // Default is whole array
                $entries = $this->rawEntries;
 
@@ -164,7 +164,7 @@ class BaseRegistry extends BaseFrameworkSystem implements Registerable {
         */
        public function getInstance ($instanceKey) {
                // By default the instance is not in registry
-               $objectInstance = null;
+               $objectInstance = NULL;
 
                // Is the instance there?
                if ($this->instanceExists($instanceKey)) {