From: Roland Häder Date: Tue, 8 Nov 2011 07:47:15 +0000 (+0000) Subject: selfInstance is better X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e7c73f411971d5ca54796e7334042a6691d69629;p=admin.git selfInstance is better --- diff --git a/application/admin/class_ApplicationHelper.php b/application/admin/class_ApplicationHelper.php index 0f28bd6..90b6e64 100644 --- a/application/admin/class_ApplicationHelper.php +++ b/application/admin/class_ApplicationHelper.php @@ -63,7 +63,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication /** * An instance of this class */ - private static $thisInstance = null; + private static $selfInstance = null; /** * Protected constructor @@ -78,16 +78,16 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication /** * 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 getInstance () { + public static final function getInstanceInstance () { // Is the instance there? - if (is_null(self::$thisInstance)) { - self::$thisInstance = new ApplicationHelper(); - } + if (is_null(self::$selfInstance)) { + self::$selfInstance = new ApplicationHelper(); + } // END - if // Return the instance - return self::$thisInstance; + return self::$selfInstance; } /**