From: Roland Häder Date: Mon, 28 Feb 2011 00:13:39 +0000 (+0000) Subject: 'public static final' is correct X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=732f557f4f51ced66c7258445098758e58a08cd0;p=install.git 'public static final' is correct --- diff --git a/application/install/class_ApplicationHelper.php b/application/install/class_ApplicationHelper.php index f8afc85..4993977 100644 --- a/application/install/class_ApplicationHelper.php +++ b/application/install/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/install/main/commands/web/failed/class_WebInstallFailedCommand.php b/application/install/main/commands/web/failed/class_WebInstallFailedCommand.php index 7ef2857..d90e2f1 100644 --- a/application/install/main/commands/web/failed/class_WebInstallFailedCommand.php +++ b/application/install/main/commands/web/failed/class_WebInstallFailedCommand.php @@ -38,7 +38,7 @@ class WebInstallFailedCommand extends BaseCommand implements Commandable { * @param $resolverInstance An instance of a command resolver class * @return $commandInstance An instance a prepared command class */ - public final static function createWebInstallFailedCommand (CommandResolver $resolverInstance) { + public static final function createWebInstallFailedCommand (CommandResolver $resolverInstance) { // Get new instance $commandInstance = new WebInstallFailedCommand(); diff --git a/application/install/main/controller/web/class_WebInstallFailedController.php b/application/install/main/controller/web/class_WebInstallFailedController.php index 2396254..7168acb 100644 --- a/application/install/main/controller/web/class_WebInstallFailedController.php +++ b/application/install/main/controller/web/class_WebInstallFailedController.php @@ -39,7 +39,7 @@ class WebInstallFailedController extends BaseController implements Controller { * @return $controllerInstance A prepared instance of this class * @todo Add some filters to this controller */ - public final static function createWebInstallFailedController (CommandResolver $resolverInstance) { + public static final function createWebInstallFailedController (CommandResolver $resolverInstance) { // Create the instance $controllerInstance = new WebInstallFailedController(); diff --git a/application/install/main/menu/class_InstallHomeMenu.php b/application/install/main/menu/class_InstallHomeMenu.php index e4e3d28..b0bfd45 100644 --- a/application/install/main/menu/class_InstallHomeMenu.php +++ b/application/install/main/menu/class_InstallHomeMenu.php @@ -37,7 +37,7 @@ class InstallHomeMenu extends BaseMenu implements RenderableMenu { * * @return $menuInstance An instance of this class */ - public final static function createInstallHomeMenu () { + public static final function createInstallHomeMenu () { // Get a new instance $menuInstance = new InstallHomeMenu();