Static method getInstance() conflicts with getInstance() in class BaseRegistry,
[core.git] / inc / classes / middleware / debug / class_DebugMiddleware.php
index 245e18f947afbcf8da60bfa6dc41044319f26c43..14901161715315e47ea5bd1ff98310913e915505 100644 (file)
@@ -6,7 +6,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -27,12 +27,12 @@ class DebugMiddleware extends BaseMiddleware implements Registerable {
        /**
         * The concrete output instance
         */
-       private $outputInstance = null;
+       private $outputInstance = NULL;
 
        /**
         * An instance of this class
         */
-       private static $thisInstance = null;
+       private static $thisInstance = NULL;
 
        /**
         * Protected constructor
@@ -84,7 +84,7 @@ class DebugMiddleware extends BaseMiddleware implements Registerable {
         *
         * @return      $thisInstance           An instance of this class
         */
-       public static final function getInstance() {
+       public static final function getSelfInstance() {
                return self::$thisInstance;
        }