]> git.mxchange.org Git - core.git/blobdiff - inc/classes/middleware/debug/class_DebugMiddleware.php
$selfInstance is better
[core.git] / inc / classes / middleware / debug / class_DebugMiddleware.php
index 14901161715315e47ea5bd1ff98310913e915505..51e17257cd419ed2c271dc3226aa94b2c7fa8b0b 100644 (file)
@@ -32,7 +32,7 @@ class DebugMiddleware extends BaseMiddleware implements Registerable {
        /**
         * An instance of this class
         */
-       private static $thisInstance = NULL;
+       private static $selfInstance = NULL;
 
        /**
         * Protected constructor
@@ -44,7 +44,7 @@ class DebugMiddleware extends BaseMiddleware implements Registerable {
                parent::__construct(__CLASS__);
 
                // Set own instance
-               self::$thisInstance = $this;
+               self::$selfInstance = $this;
 
                // Set it so all can use it
                $this->setDebugInstance($this);
@@ -82,10 +82,10 @@ class DebugMiddleware extends BaseMiddleware implements Registerable {
        /**
         * Getter for an instance of this class
         *
-        * @return      $thisInstance           An instance of this class
+        * @return      $selfInstance           An instance of this class
         */
        public static final function getSelfInstance() {
-               return self::$thisInstance;
+               return self::$selfInstance;
        }
 
        /**