From: Roland Häder Date: Mon, 28 Feb 2011 00:12:37 +0000 (+0000) Subject: 'public static final' is correct X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9d4830066f7c84892d89f8998821ebc7cd08f064;p=admin.git 'public static final' is correct --- diff --git a/application/admin/class_ApplicationHelper.php b/application/admin/class_ApplicationHelper.php index f3d4dbf..3b1e01e 100644 --- a/application/admin/class_ApplicationHelper.php +++ b/application/admin/class_ApplicationHelper.php @@ -80,7 +80,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication * * @return $thisInstance An instance of this class */ - public final static function getInstance () { + public static final function getInstance () { // Is the instance there? if (is_null(self::$thisInstance)) { self::$thisInstance = new ApplicationHelper(); diff --git a/application/admin/main/actions/web/class_WebAdminLoginWelcomeAction.php b/application/admin/main/actions/web/class_WebAdminLoginWelcomeAction.php index de17170..a5fb8f0 100644 --- a/application/admin/main/actions/web/class_WebAdminLoginWelcomeAction.php +++ b/application/admin/main/actions/web/class_WebAdminLoginWelcomeAction.php @@ -37,7 +37,7 @@ class WebAdminLoginWelcomeAction extends BaseAction implements PerformableAction * * @return $actionInstance An instance of this action class */ - public final static function createWebAdminLoginWelcomeAction () { + public static final function createWebAdminLoginWelcomeAction () { // Get a new instance $actionInstance = new WebAdminLoginWelcomeAction(); diff --git a/application/admin/main/commands/web/class_WebAdminUserLoginCommand.php b/application/admin/main/commands/web/class_WebAdminUserLoginCommand.php index c9e63e7..9d6f7d8 100644 --- a/application/admin/main/commands/web/class_WebAdminUserLoginCommand.php +++ b/application/admin/main/commands/web/class_WebAdminUserLoginCommand.php @@ -38,7 +38,7 @@ class WebAdminUserLoginCommand extends BaseCommand implements Commandable { * @param $resolverInstance An instance of a command resolver * @return $commandInstance The created command instance */ - public final static function createWebAdminUserLoginCommand (CommandResolver $resolverInstance) { + public static final function createWebAdminUserLoginCommand (CommandResolver $resolverInstance) { // Get a new instance $commandInstance = new WebAdminUserLoginCommand(); diff --git a/application/admin/main/login/class_AdminUserLogin.php b/application/admin/main/login/class_AdminUserLogin.php index f10d4e4..cba2a30 100644 --- a/application/admin/main/login/class_AdminUserLogin.php +++ b/application/admin/main/login/class_AdminUserLogin.php @@ -42,7 +42,7 @@ class AdminUserLogin extends BaseFrameworkSystem implements LoginableUser { * * @return $loginInstance An instance of this login class */ - public final static function createAdminUserLogin () { + public static final function createAdminUserLogin () { // Get a new instance $loginInstance = new AdminUserLogin(); diff --git a/application/admin/main/login/helper/class_AdminLoginHelper.php b/application/admin/main/login/helper/class_AdminLoginHelper.php index d54d400..c5244d4 100644 --- a/application/admin/main/login/helper/class_AdminLoginHelper.php +++ b/application/admin/main/login/helper/class_AdminLoginHelper.php @@ -56,7 +56,7 @@ class AdminLoginHelper extends BaseLoginHelper implements HelpableLogin { * @throws UserInstanceMissingException If the user instance in registry * is missing or invalid */ - public final static function createAdminLoginHelper (Requestable $requestInstance) { + public static final function createAdminLoginHelper (Requestable $requestInstance) { // Get a new instance first $helperInstance = new AdminLoginHelper(); diff --git a/application/admin/main/menu/class_AdminHomeMenu.php b/application/admin/main/menu/class_AdminHomeMenu.php index 55264a6..5856825 100644 --- a/application/admin/main/menu/class_AdminHomeMenu.php +++ b/application/admin/main/menu/class_AdminHomeMenu.php @@ -37,7 +37,7 @@ class AdminHomeMenu extends BaseMenu implements RenderableMenu { * * @return $menuInstance An instance of this class */ - public final static function createAdminHomeMenu () { + public static final function createAdminHomeMenu () { // Get a new instance $menuInstance = new AdminHomeMenu();