From 504dfa76a004fb47ee258b9a0c79ed1fc56fda35 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 8 Nov 2011 07:49:39 +0000 Subject: [PATCH] selfInstance is better --- application/qa/class_ApplicationHelper.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/application/qa/class_ApplicationHelper.php b/application/qa/class_ApplicationHelper.php index ae7decd..b19ff75 100644 --- a/application/qa/class_ApplicationHelper.php +++ b/application/qa/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 getSelfInstance () { // 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; } /** -- 2.30.2