]> git.mxchange.org Git - shipsimu.git/commitdiff
'public static final' is correct
authorRoland Häder <roland@mxchange.org>
Mon, 28 Feb 2011 00:18:45 +0000 (00:18 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 28 Feb 2011 00:18:45 +0000 (00:18 +0000)
71 files changed:
application/ship-simu/class_ApplicationHelper.php
application/ship-simu/main/actions/ship-simu/class_ShipSimuLoginAction.php
application/ship-simu/main/actions/ship-simu/class_ShipSimuProfileAction.php
application/ship-simu/main/actions/web/class_WebShipSimuLoginCompanyAction.php
application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentStartupHelpAction.php
application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentTrainingAction.php
application/ship-simu/main/actions/web/class_WebShipSimuLoginLogoutAction.php
application/ship-simu/main/actions/web/class_WebShipSimuLoginProfileAction.php
application/ship-simu/main/actions/web/class_WebShipSimuLoginRefillAction.php
application/ship-simu/main/actions/web/class_WebShipSimuLoginStatusProblemAction.php
application/ship-simu/main/actions/web/class_WebShipSimuLoginWelcomeAction.php
application/ship-simu/main/bank/money/class_MoneyBank.php
application/ship-simu/main/class_Merchant.php
application/ship-simu/main/class_WorksContract.php
application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php
application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php
application/ship-simu/main/commands/web/class_WebShipsimuRefillCommand.php
application/ship-simu/main/commands/web/class_WebShipsimuRegisterCommand.php
application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php
application/ship-simu/main/commands/web/company/class_WebShipSimuCompanyCommand.php
application/ship-simu/main/commands/web/government/class_WebGovernmentFailedStartupCommand.php
application/ship-simu/main/commands/web/government/class_WebGovernmentFailedTrainingCommand.php
application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentStartupCommand.php
application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentTrainingCommand.php
application/ship-simu/main/companies/class_ShippingCompany.php
application/ship-simu/main/constructions/harbors/class_Harbor.php
application/ship-simu/main/constructions/yards/class_Shipyard.php
application/ship-simu/main/controller/web/class_WebCompanyController.php
application/ship-simu/main/controller/web/class_WebGovernmentFailedController.php
application/ship-simu/main/drives/motor/class_Motor.php
application/ship-simu/main/factories/class_ShipSimuWebNewsFactory.php
application/ship-simu/main/filter/book/refill/class_RefillRequestCurrencyTestBookFilter.php
application/ship-simu/main/filter/government/class_ShipSimuGovernmentPaysStartupHelpFilter.php
application/ship-simu/main/filter/government/class_ShipSimuGovernmentPaysTrainingFilter.php
application/ship-simu/main/filter/page/class_RefillPageFilter.php
application/ship-simu/main/filter/validator/class_RefillRequestValidatorFilter.php
application/ship-simu/main/filter/validator/class_ShipSimuUserStatusGuestFilter.php
application/ship-simu/main/filter/verifier/class_BirthdayVerifierFilter.php
application/ship-simu/main/government/class_SimplifiedGovernment.php
application/ship-simu/main/login/class_ShipSimuGuestLogin.php
application/ship-simu/main/login/class_ShipSimuUserLogin.php
application/ship-simu/main/login/helper/class_ShipSimuLoginHelper.php
application/ship-simu/main/menu/class_ShipSimuConfirmMenu.php
application/ship-simu/main/menu/class_ShipSimuHomeMenu.php
application/ship-simu/main/menu/class_ShipSimuLoginAreaMenu.php
application/ship-simu/main/menu/class_ShipSimuLoginFailedMenu.php
application/ship-simu/main/menu/class_ShipSimuLoginMenu.php
application/ship-simu/main/menu/class_ShipSimuLogoutMenu.php
application/ship-simu/main/menu/class_ShipSimuRegisterMenu.php
application/ship-simu/main/menu/class_ShipSimuStatusMenu.php
application/ship-simu/main/menu/government/class_ShipSimuGovernmentFailedAreaMenu.php
application/ship-simu/main/opening/bank/class_MoneyBankRealtimeOpening.php
application/ship-simu/main/parts/maschineroom/class_MaschineRoom.php
application/ship-simu/main/personell/class_SimulatorPersonell.php
application/ship-simu/main/personell/company/class_CompanyEmployee.php
application/ship-simu/main/registration/class_ShipSimuRegistration.php
application/ship-simu/main/resolver/web/class_WebCompanyCommandResolver.php
application/ship-simu/main/resolver/web/class_WebGovernmentFailedCommandResolver.php
application/ship-simu/main/ships/passenger/class_PassengerShip.php
application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php
application/ship-simu/main/structures/extended/cabines/ship/class_LowCabin.php
application/ship-simu/main/structures/extended/cabines/ship/class_LuxuryCabin.php
application/ship-simu/main/structures/extended/cabines/ship/class_PremierCabin.php
application/ship-simu/main/structures/extended/decks/cargo/class_CarDeck.php
application/ship-simu/main/structures/extended/decks/cargo/class_TrainDeck.php
application/ship-simu/main/structures/extended/decks/cargo/class_TruckDeck.php
application/ship-simu/main/structures/extended/upper/class_Bridge.php
application/ship-simu/main/user/extended/class_ShipSimuGuest.php
application/ship-simu/main/user/extended/class_ShipSimuMember.php
application/ship-simu/main/wrapper/class_CompanyDatabaseWrapper.php
application/ship-simu/main/wrapper/class_UserGovernmentDatabaseWrapper.php

index 150fa5837702c344a998dd337188e2ba92100f5e..19c7c8ca3ed58225277e034dfcf490cbcc4f693b 100644 (file)
@@ -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();
index ac471434d1894047ba001ad7b82863f1b890981d..84abffbc3a2a7a43345e07c3ced4ba031f994aad 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuLoginAction extends BaseShipSimuAction implements PerformableActio
         *
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createShipSimuLoginAction () {
+       public static final function createShipSimuLoginAction () {
                // Get a new instance
                $actionInstance = new ShipSimuLoginAction();
 
index d9771cf95ebfe0552a4b141f90d7a36347f7bfbf..41569b2e932cf83b369f5ce2db7ef5575abefaeb 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuProfileAction extends BaseShipSimuAction implements PerformableAct
         *
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createShipSimuProfileAction () {
+       public static final function createShipSimuProfileAction () {
                // Get a new instance
                $actionInstance = new ShipSimuProfileAction();
 
index f028f1ccfcde33f2f877e3264acf54aeb53afe9a..5301f98e640160d956b5d9e888458b9ac5807bb9 100644 (file)
@@ -38,7 +38,7 @@ class WebShipSimuLoginCompanyAction extends BaseShipSimuAction implements Comman
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createWebShipSimuLoginCompanyAction (ActionResolver $resolverInstance) {
+       public static final function createWebShipSimuLoginCompanyAction (ActionResolver $resolverInstance) {
                // Get a new instance
                $actionInstance = new WebShipSimuLoginCompanyAction();
 
index 91d585fa51cc57f8ac7d02785ff4cf678bfff188..8e601aa560dabdf0e6f25e2a3d727cabce5594e9 100644 (file)
@@ -38,7 +38,7 @@ class WebShipSimuLoginGovernmentStartupHelpAction extends BaseShipSimuAction imp
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createWebShipSimuLoginGovernmentStartupHelpAction (ActionResolver $resolverInstance) {
+       public static final function createWebShipSimuLoginGovernmentStartupHelpAction (ActionResolver $resolverInstance) {
                // Get a new instance
                $actionInstance = new WebShipSimuLoginGovernmentStartupHelpAction();
 
index b38ffbad391684249cdd86be9c74fa4463fab798..abda7a3b5f8108bf3b1210401035598d185ec3c8 100644 (file)
@@ -38,7 +38,7 @@ class WebShipSimuLoginGovernmentTrainingAction extends BaseShipSimuAction implem
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createWebShipSimuLoginGovernmentTrainingAction (ActionResolver $resolverInstance) {
+       public static final function createWebShipSimuLoginGovernmentTrainingAction (ActionResolver $resolverInstance) {
                // Get a new instance
                $actionInstance = new WebShipSimuLoginGovernmentTrainingAction();
 
index c19f2ce883597a328de788b359f6a79459e49f26..a02b9b0e10ebcb19a95fc331d46711b21feabb0e 100644 (file)
@@ -38,7 +38,7 @@ class WebShipSimuLoginLogoutAction extends BaseShipSimuAction implements Command
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createWebShipSimuLoginLogoutAction (ActionResolver $resolverInstance) {
+       public static final function createWebShipSimuLoginLogoutAction (ActionResolver $resolverInstance) {
                // Get a new instance
                $actionInstance = new WebShipSimuLoginLogoutAction();
 
index 6ad4154663aadf96cdbb6ac71d125904d76137e2..0d1e81b78b94a7ee861dc6aacebbba7efc420f4b 100644 (file)
@@ -38,7 +38,7 @@ class WebShipSimuLoginProfileAction extends BaseShipSimuAction implements Comman
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createWebShipSimuLoginProfileAction (ActionResolver $resolverInstance) {
+       public static final function createWebShipSimuLoginProfileAction (ActionResolver $resolverInstance) {
                // Get a new instance
                $actionInstance = new WebShipSimuLoginProfileAction();
 
index 02a087f25a9a20d0cd9fd6b338d625c734e0e73d..6505743d593ad2046bfcc13c380714c62f1132ee 100644 (file)
@@ -38,7 +38,7 @@ class WebShipSimuLoginRefillAction extends BaseShipSimuAction implements Command
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createWebShipSimuLoginRefillAction (ActionResolver $resolverInstance) {
+       public static final function createWebShipSimuLoginRefillAction (ActionResolver $resolverInstance) {
                // Get a new instance
                $actionInstance = new WebShipSimuLoginRefillAction();
 
index b82d365c3de71d249c578b1ad65c4eed5e822366..51b0860f2dced5412c9ba3eb15c07337922b2cd8 100644 (file)
@@ -38,7 +38,7 @@ class WebShipSimuLoginStatusProblemAction extends BaseShipSimuAction implements
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createWebShipSimuLoginStatusProblemAction (ActionResolver $resolverInstance) {
+       public static final function createWebShipSimuLoginStatusProblemAction (ActionResolver $resolverInstance) {
                // Get a new instance
                $actionInstance = new WebShipSimuLoginStatusProblemAction();
 
index 0dff65381ebade97d5bf3e5bfcf2080047fcb604..fb7fb64142d48d31ff99f356a7e4ae40cbdacaa4 100644 (file)
@@ -38,7 +38,7 @@ class WebShipSimuLoginWelcomeAction extends BaseShipSimuAction implements Comman
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createWebShipSimuLoginWelcomeAction (ActionResolver $resolverInstance) {
+       public static final function createWebShipSimuLoginWelcomeAction (ActionResolver $resolverInstance) {
                // Get a new instance
                $actionInstance = new WebShipSimuLoginWelcomeAction();
 
index 1e9a510ca993e7aa05e724ecfd5e20185b9b9b7b..5f9dbe490a5df0675c67f8176c62eeac37ab1e95 100644 (file)
@@ -38,7 +38,7 @@ class MoneyBank extends BaseBank implements Registerable {
         * @param       $userInstance   A class instance of a user object
         * @return      $bankInstance   An instance of this class
         */
-       public final static function createMoneyBank (ManageableAccount $userInstance) {
+       public static final function createMoneyBank (ManageableAccount $userInstance) {
                // Get a new instance
                $moneyInstance = new MoneyBank();
 
index 4d2926e7186a90028a322d242d694bdf0ccc0dc3..0b19aa990924d978d31690ae9ddad494faad6a89 100644 (file)
@@ -38,7 +38,7 @@ class Merchant extends BaseFrameworkSystem {
        }
 
        // Haendler mit Namen erzeugen
-       public final static function createMerchant ($merchantName, Harbor $harborInstance) {
+       public static final function createMerchant ($merchantName, Harbor $harborInstance) {
                // String absichern
                $merchantName = (string) $merchantName;
 
index 48a3e35371cb57e05ba23f64dcadb0fd551096dd..8c596abb044b080973d6c51897802edf2d926dde 100644 (file)
@@ -47,7 +47,7 @@ class WorksContract extends BaseFrameworkSystem implements SignableContract {
        }
 
        // Neuen Bauvertrag generieren
-       public final static function createWorksContract ($shipType, $shipName, ContractPartner $partnerInstance) {
+       public static final function createWorksContract ($shipType, $shipName, ContractPartner $partnerInstance) {
                // Strings absichern
                $shipType = (string) $shipType;
                $shipName = (string) $shipName;
index b2d80a14ff303fa9f9817b9b72a5fa87985a8b54..ff90a99aadf17cf4159320e05bfd26b8e57ee725 100644 (file)
@@ -38,7 +38,7 @@ class WebShipsimuGuestLoginCommand extends BaseCommand implements Commandable {
         * @param       $resolverInstance       An instance of a command resolver
         * @return      $commandInstance        The created command instance
         */
-       public final static function createWebShipsimuGuestLoginCommand (CommandResolver $resolverInstance) {
+       public static final function createWebShipsimuGuestLoginCommand (CommandResolver $resolverInstance) {
                // Get a new instance
                $commandInstance = new WebShipsimuGuestLoginCommand();
 
index 1e37e8c570ddfec7dbb0794f13d80a515df0f0cd..e946a2e76cdb65ea66710bc3b5c28a50299726f6 100644 (file)
@@ -65,7 +65,7 @@ class WebShipsimuProfileCommand extends BaseCommand implements Commandable {
         * @param       $resolverInstance       An instance of a command resolver
         * @return      $commandInstance        The created command instance
         */
-       public final static function createWebShipsimuProfileCommand (CommandResolver $resolverInstance) {
+       public static final function createWebShipsimuProfileCommand (CommandResolver $resolverInstance) {
                // Get a new instance
                $commandInstance = new WebShipsimuProfileCommand();
 
index 4be725677057b3cb7d6a84dcb82783201ebcb3ea..2ea98be8af5529ccf1765670464e46347cd02389 100644 (file)
@@ -38,7 +38,7 @@ class WebShipsimuRefillCommand extends BaseCommand implements Commandable {
         * @param       $resolverInstance       An instance of a command resolver
         * @return      $commandInstance        The created command instance
         */
-       public final static function createWebShipsimuRefillCommand (CommandResolver $resolverInstance) {
+       public static final function createWebShipsimuRefillCommand (CommandResolver $resolverInstance) {
                // Get a new instance
                $commandInstance = new WebShipsimuRefillCommand();
 
index fe2b5b905f0566cd09976023f17f084c5067746d..39843e149a95980e33461148525b3ca2e4a1dadc 100644 (file)
@@ -38,7 +38,7 @@ class WebShipsimuRegisterCommand extends BaseCommand implements Commandable {
         * @param       $resolverInstance       An instance of a command resolver
         * @return      $commandInstance        The created command instance
         */
-       public final static function createWebShipsimuRegisterCommand (CommandResolver $resolverInstance) {
+       public static final function createWebShipsimuRegisterCommand (CommandResolver $resolverInstance) {
                // Get a new instance
                $commandInstance = new WebShipsimuRegisterCommand();
 
index 67b1ea630a9709bd9872bbcaa12b0b35b5630fe4..3614b825b4f6ce8aab9aa7c6df460255b89ba425 100644 (file)
@@ -38,7 +38,7 @@ class WebShipsimuUserLoginCommand extends BaseCommand implements Commandable {
         * @param       $resolverInstance       An instance of a command resolver
         * @return      $commandInstance        The created command instance
         */
-       public final static function createWebShipsimuUserLoginCommand (CommandResolver $resolverInstance) {
+       public static final function createWebShipsimuUserLoginCommand (CommandResolver $resolverInstance) {
                // Get a new instance
                $commandInstance = new WebShipsimuUserLoginCommand();
 
index 9f8cde84fcae984cc0535da7fd72466ecdf3d9ad..a72f1a9875bb2fbd743896bfc59533f7b84ac892 100644 (file)
@@ -38,7 +38,7 @@ class WebShipSimuCompanyCommand extends BaseCommand implements Commandable {
         * @param       $resolverInstance       An instance of a command resolver
         * @return      $commandInstance        The created command instance
         */
-       public final static function createWebShipSimuCompanyCommand (CommandResolver $resolverInstance) {
+       public static final function createWebShipSimuCompanyCommand (CommandResolver $resolverInstance) {
                // Get a new instance
                $commandInstance = new WebShipSimuCompanyCommand();
 
index 4993989d3364a164bad03aa2e1e7e42e9db93759..2e81afc6d4d6a81e49829770131c1fe5faa8dd9e 100644 (file)
@@ -39,7 +39,7 @@ class WebGovernmentFailedStartupCommand extends BaseCommand implements Commandab
         * @param       $resolverInstance       An instance of a command resolver class
         * @return      $commandInstance        An instance a prepared command class
         */
-       public final static function createWebGovernmentFailedStartupCommand (CommandResolver $resolverInstance) {
+       public static final function createWebGovernmentFailedStartupCommand (CommandResolver $resolverInstance) {
                // Get new instance
                $commandInstance = new WebGovernmentFailedStartupCommand();
 
index d79c2aa8ad3c0c713ce91911ad944b1172d26d0c..8bd6c4dd987cf12d26441a5cf8cd968fc5f48d48 100644 (file)
@@ -39,7 +39,7 @@ class WebGovernmentFailedTrainingCommand extends BaseCommand implements Commanda
         * @param       $resolverInstance       An instance of a command resolver class
         * @return      $commandInstance        An instance a prepared command class
         */
-       public final static function createWebGovernmentFailedTrainingCommand (CommandResolver $resolverInstance) {
+       public static final function createWebGovernmentFailedTrainingCommand (CommandResolver $resolverInstance) {
                // Get new instance
                $commandInstance = new WebGovernmentFailedTrainingCommand();
 
index fd6cb12331287f300b425485ef3943d9321ff666..fa41a2cce11d6e7ba6433d62bc89ea5a54eeca57 100644 (file)
@@ -39,7 +39,7 @@ class WebShipsimuGovernmentStartupCommand extends BaseCommand implements Command
         * @param       $resolverInstance       An instance of a command resolver class
         * @return      $commandInstance        An instance a prepared command class
         */
-       public final static function createWebShipsimuGovernmentStartupCommand (CommandResolver $resolverInstance) {
+       public static final function createWebShipsimuGovernmentStartupCommand (CommandResolver $resolverInstance) {
                // Get new instance
                $commandInstance = new WebShipsimuGovernmentStartupCommand();
 
index a5ec956022d7527be5b86ff577fb70ddf906f77e..d3cddf0965c50c76859f81bd9b839d17ad9ff5fc 100644 (file)
@@ -37,7 +37,7 @@ class WebShipsimuGovernmentTrainingCommand extends BaseCommand implements Comman
         * @param       $resolverInstance       An instance of a command resolver class
         * @return      $commandInstance        An instance a prepared command class
         */
-       public final static function createWebShipsimuGovernmentTrainingCommand (CommandResolver $resolverInstance) {
+       public static final function createWebShipsimuGovernmentTrainingCommand (CommandResolver $resolverInstance) {
                // Get new instance
                $commandInstance = new WebShipsimuGovernmentTrainingCommand();
 
index 8891432b506eced9474170ec8e2436fd2eeb1b12..231d390d7ab8aefcd90441c727581a9d60c2f21d 100644 (file)
@@ -83,7 +83,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
         * @return      $companyInstance        Prepared company instance
         * @todo        Add functionality if user participates in a company
         */
-       public final static function createShippingCompany (ManageableAccount $userInstance) {
+       public static final function createShippingCompany (ManageableAccount $userInstance) {
                // Get new instance
                $companyInstance = new ShippingCompany();
 
index 76aa521f4e1987b25d3e7b8c19a88aa39901413f..99189bdf5f85f0330dd52356925aa6454f492bdc 100644 (file)
@@ -41,7 +41,7 @@ class Harbor extends BaseConstruction {
        }
 
        // Creates a harbor
-       public final static function createHarbor ($harborName) {
+       public static final function createHarbor ($harborName) {
                // Hafen-Instanz holen
                $harborInstance = new Harbor();
 
index 216d3830909752a5fd29ca3cc3f2b7062a516a3e..08079596d753f1b46a33332b0bc5921c2a448b26 100644 (file)
@@ -55,7 +55,7 @@ class Shipyard extends BaseConstruction {
        }
 
        // Create a shipyard and notify it about it's owner
-       public final static function createShipyardNotify (Harbor $harborInstance, $shipyardName, ShippingCompany $companyInstance) {
+       public static final function createShipyardNotify (Harbor $harborInstance, $shipyardName, ShippingCompany $companyInstance) {
                // Werft-Instanz holen
                $shipyardInstance = self::createShipyard($harborInstance, $shipyardName);
 
@@ -70,7 +70,7 @@ class Shipyard extends BaseConstruction {
        }
 
        // Create a shipyard, first we need to create a harbor
-       public final static function createShipyard (Harbor $harborInstance, $shipyardName) {
+       public static final function createShipyard (Harbor $harborInstance, $shipyardName) {
                // Instanz temporaer holen
                $shipyardInstance = new Shipyard();
 
index 6e19673762937ddef5d651615f98893c5f6ec4a3..b21da70550874b7ab5975972281c2154ba461cdd 100644 (file)
@@ -39,7 +39,7 @@ class WebCompanyController extends BaseController implements Controller {
         * @return      $controllerInstance             A prepared instance of this class
         * @todo        Add some filters to this controller
         */
-       public final static function createWebCompanyController (CommandResolver $resolverInstance) {
+       public static final function createWebCompanyController (CommandResolver $resolverInstance) {
                // Create the instance
                $controllerInstance = new WebCompanyController();
 
index 3fc5cbdf66e5e7bdf7dcceab9f3864c7d9c05b98..86fbca63710a8711ef4c3a1b5b44bb0f6b11ee4b 100644 (file)
@@ -39,7 +39,7 @@ class WebGovernmentFailedController extends BaseController implements Controller
         * @return      $controllerInstance             A prepared instance of this class
         * @todo        Add some filters to this controller
         */
-       public final static function createWebGovernmentFailedController (CommandResolver $resolverInstance) {
+       public static final function createWebGovernmentFailedController (CommandResolver $resolverInstance) {
                // Create the instance
                $controllerInstance = new WebGovernmentFailedController();
 
index 987d0850c932cd4e597e34e923f12780297c044b..7b2e0ad03df2eefd489cf0c2f08389ca8a9c303f 100644 (file)
@@ -29,7 +29,7 @@ class Motor extends BaseDrive implements TradeableItem, ConstructableShipPart {
        }
 
        // Einen Motor erstellen
-       public final static function createMotor ($descr, $hp, $cams, $w, $h, $l) {
+       public static final function createMotor ($descr, $hp, $cams, $w, $h, $l) {
                // Get new instance
                $motorInstance = new Motor();
 
index ed2e308620148121863a8ed6a45fdff317beb418..4725a76556ee52795ebe781c39a0f12663d9d21e 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuWebNewsFactory extends BaseFrameworkSystem {
         *
         * @return              $factoryInstance        An instance of this class
         */
-       public final static function createShipSimuWebNewsFactory () {
+       public static final function createShipSimuWebNewsFactory () {
                // Get a new instance
                $factoryInstance = new ShipSimuWebNewsFactory();
 
index d13ff0b3b7446ca6a1fe367a05a6df8abe7c8f65..b527d3aaacaa187fc3f7656182d2f1276fa19e0a 100644 (file)
@@ -40,7 +40,7 @@ class RefillRequestCurrencyTestBookFilter extends BaseShipSimuFilter implements
         *
         * @return      $filterInstance         An instance of this filter class
         */
-       public final static function createRefillRequestCurrencyTestBookFilter () {
+       public static final function createRefillRequestCurrencyTestBookFilter () {
                // Get a new instance
                $filterInstance = new RefillRequestCurrencyTestBookFilter();
 
index 107998240aa79bd5d3c530f022e8ca6f53624206..a64b62311292decaee98fdfa83f74591422b3ff4 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuGovernmentPaysStartupHelpFilter extends BaseShipSimuFilter impleme
         *
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createShipSimuGovernmentPaysStartupHelpFilter () {
+       public static final function createShipSimuGovernmentPaysStartupHelpFilter () {
                // Get a new instance
                $filterInstance = new ShipSimuGovernmentPaysStartupHelpFilter();
 
index ae26e1fc48d7c2f01a02d943d0d5fffaf9939baa..e36c97706daa940f8d130d2eed4eb88f958c6654 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuGovernmentPaysTrainingFilter extends BaseShipSimuFilter implements
         *
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createShipSimuGovernmentPaysTrainingFilter () {
+       public static final function createShipSimuGovernmentPaysTrainingFilter () {
                // Get a new instance
                $filterInstance = new ShipSimuGovernmentPaysTrainingFilter();
 
index 202316a298647b3e28ce3cfd5f55688a3c081389..ecdd6768637b9cca29ce2eee6912ca8b8accad41 100644 (file)
@@ -37,7 +37,7 @@ class RefillPageFilter extends BaseShipSimuFilter implements Filterable {
         *
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createRefillPageFilter () {
+       public static final function createRefillPageFilter () {
                // Get a new instance
                $filterInstance = new RefillPageFilter();
 
index 50ed54ec23dbe4bb0a7818149fe047f804f36a85..59caecf398f867251a9544972adc597f24cdae47 100644 (file)
@@ -37,7 +37,7 @@ class RefillRequestValidatorFilter extends BaseShipSimuFilter implements Filtera
         *
         * @return      $filterInstance         An instance of this filter class
         */
-       public final static function createRefillRequestValidatorFilter () {
+       public static final function createRefillRequestValidatorFilter () {
                // Get a new instance
                $filterInstance = new RefillRequestValidatorFilter();
 
index 261e188e429a9c043f1963743819ad534a30bcab..e8108175cb54bdaf52f32266ea2f716e5e7ff69a 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuUserStatusGuestFilter extends BaseShipSimuFilter implements Filter
         *
         * @return      $filterInstance         An instance of this filter class
         */
-       public final static function createShipSimuUserStatusGuestFilter () {
+       public static final function createShipSimuUserStatusGuestFilter () {
                // Get a new instance
                $filterInstance = new ShipSimuUserStatusGuestFilter();
 
index 012d098dadf943946d6c8f0cbf5ab008bbeef93d..625cd74ae52b0b3b49d014d2a071b8dbc03a63df 100644 (file)
@@ -37,7 +37,7 @@ class BirthdayVerifierFilter extends BaseShipSimuFilter implements Filterable {
         *
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createBirthdayVerifierFilter () {
+       public static final function createBirthdayVerifierFilter () {
                // Get a new instance
                $filterInstance = new BirthdayVerifierFilter();
 
index d4b593b20b205b5f71ccaca3bf5a5ce18835a8e2..03d3d9e6f8c0b31abd8bdfa523057736490354f3 100644 (file)
@@ -43,7 +43,7 @@ class SimplifiedGovernment extends BaseFrameworkSystem implements Registerable {
         * @param       $userInstance           The user instance
         * @return      $governmentInstance     Instance of the prepared government instance
         */
-       public final static function createSimplifiedGovernment (ManageableAccount $userInstance) {
+       public static final function createSimplifiedGovernment (ManageableAccount $userInstance) {
                // Get a new instance
                $governmentInstance = new SimplifiedGovernment();
 
index 96eed3621e693c7fd285f555476c20fdfa39e5bc..586652f9c8ca12982aec8dad13c2ea49c84173bf 100644 (file)
@@ -42,7 +42,7 @@ class ShipSimuGuestLogin extends BaseFrameworkSystem implements LoginableUser {
         *
         * @return      $loginInstance  An instance of this login class
         */
-       public final static function createShipSimuGuestLogin () {
+       public static final function createShipSimuGuestLogin () {
                // Get a new instance
                $loginInstance = new ShipSimuGuestLogin();
 
index 70c32e8c680372149dcfa48cad209e2c84b8a43b..d6a4e6e869c294410716f300025c202103391bc8 100644 (file)
@@ -42,7 +42,7 @@ class ShipSimuUserLogin extends BaseFrameworkSystem implements LoginableUser {
         *
         * @return      $loginInstance  An instance of this login class
         */
-       public final static function createShipSimuUserLogin () {
+       public static final function createShipSimuUserLogin () {
                // Get a new instance
                $loginInstance = new ShipSimuUserLogin();
 
index 32da33fe2b45de746b7c8dead80a62647e6a9fe7..cc9098ce7a9ee1fd7d4744656234f5bff17e3ced 100644 (file)
@@ -56,7 +56,7 @@ class ShipSimuLoginHelper extends BaseLoginHelper implements HelpableLogin {
         * @throws      UserInstanceMissingException    If the user instance in registry
         *                                                                                      is missing or invalid
         */
-       public final static function createShipSimuLoginHelper (Requestable $requestInstance) {
+       public static final function createShipSimuLoginHelper (Requestable $requestInstance) {
                // Get a new instance first
                $helperInstance = new ShipSimuLoginHelper();
 
index 72d2ddb32d3157f1e3d3e3a44abaa7d375a8095f..5f73a06401451ef7ad14788ac61b788cc2f835a9 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuConfirmMenu extends BaseMenu implements RenderableMenu {
         *
         * @return      $menuInstance   An instance of this class
         */
-       public final static function createShipSimuConfirmMenu () {
+       public static final function createShipSimuConfirmMenu () {
                // Get a new instance
                $menuInstance = new ShipSimuConfirmMenu();
 
index 0987058db3b6da0c6658a637cd72876cd91bca51..f39d0cab4f1a9db1481cc59dc9de230efb924748 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuHomeMenu extends BaseMenu implements RenderableMenu {
         *
         * @return      $menuInstance   An instance of this class
         */
-       public final static function createShipSimuHomeMenu () {
+       public static final function createShipSimuHomeMenu () {
                // Get a new instance
                $menuInstance = new ShipSimuHomeMenu();
 
index 23f661ebb7899134b3cf21afd143e77e65036e07..29ae5faf1713a74a4621cbddeef2a5179eae1198 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuLoginAreaMenu extends BaseMenu implements RenderableMenu {
         *
         * @return      $menuInstance   An instance of this class
         */
-       public final static function createShipSimuLoginAreaMenu () {
+       public static final function createShipSimuLoginAreaMenu () {
                // Get a new instance
                $menuInstance = new ShipSimuLoginAreaMenu();
 
index 013dd8418c110caf79c3d5c9b62d451ef89efd59..0c5dc083abdb3a9ced353d07cb46aea14cc43483 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuLoginFailedMenu extends BaseMenu implements RenderableMenu {
         *
         * @return      $menuInstance   An instance of this class
         */
-       public final static function createShipSimuLoginFailedMenu () {
+       public static final function createShipSimuLoginFailedMenu () {
                // Get a new instance
                $menuInstance = new ShipSimuLoginFailedMenu();
 
index 75212e67834f6fb7296f87d62414c8ea29013635..02892b6194a4b4ad51e427f9c3e68fd85712af82 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuLoginMenu extends BaseMenu implements RenderableMenu {
         *
         * @return      $menuInstance   An instance of this class
         */
-       public final static function createShipSimuLoginMenu () {
+       public static final function createShipSimuLoginMenu () {
                // Get a new instance
                $menuInstance = new ShipSimuLoginMenu();
 
index f28d6a784a90ddd1145379566f8c606e1b68a6d2..fc4579e72ec5c3cda7d9ce539077ae758091daa4 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuLogoutMenu extends BaseMenu implements RenderableMenu {
         *
         * @return      $menuInstance   An instance of this class
         */
-       public final static function createShipSimuLogoutMenu () {
+       public static final function createShipSimuLogoutMenu () {
                // Get a new instance
                $menuInstance = new ShipSimuLogoutMenu();
 
index b6bd2533b7d39ad1d729947b0626c16f928ac182..d0d8440a5d81152c0be4a40b54db6018a06a374e 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuRegisterMenu extends BaseMenu implements RenderableMenu {
         *
         * @return      $menuInstance   An instance of this class
         */
-       public final static function createShipSimuRegisterMenu () {
+       public static final function createShipSimuRegisterMenu () {
                // Get a new instance
                $menuInstance = new ShipSimuRegisterMenu();
 
index 9023c589f5315e1dc8315874ca81876a8b268f2b..943ed105e2615fe33b27b2fdac4af607f4537263 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuStatusMenu extends BaseMenu implements RenderableMenu {
         *
         * @return      $menuInstance   An instance of this class
         */
-       public final static function createShipSimuStatusMenu () {
+       public static final function createShipSimuStatusMenu () {
                // Get a new instance
                $menuInstance = new ShipSimuStatusMenu();
 
index d70b5e240a8cb987f458faf01813fbea226fa791..e80255a13b760da9abd964b2aad1026c31c84301 100644 (file)
@@ -37,7 +37,7 @@ class ShipSimuGovernmentFailedAreaMenu extends BaseMenu implements RenderableMen
         *
         * @return      $menuInstance   An instance of this class
         */
-       public final static function createShipSimuGovernmentFailedAreaMenu () {
+       public static final function createShipSimuGovernmentFailedAreaMenu () {
                // Get a new instance
                $menuInstance = new ShipSimuGovernmentFailedAreaMenu();
 
index 752d5b7bcb233776b4ccb64ada2a180463b3043d..1d84e69d6624ae326e8658071ce81837bc52e144 100644 (file)
@@ -38,7 +38,7 @@ class MoneyBankRealtimeOpening extends BaseOpening {
         * @param       $bankInstance           An instance of a money bank
         * @return      $openeningInstance      An instance of this class
         */
-       public final static function createMoneyBankRealtimeOpening (BaseBank $bankInstance) {
+       public static final function createMoneyBankRealtimeOpening (BaseBank $bankInstance) {
                // Get a new instance
                $openingInstance = new MoneyBankRealtimeOpening();
 
index f1e277958f9443af16ba91650f62456647c5cbd2..b0ee5c7589dff739cc29ed73674e1132845e9097 100644 (file)
@@ -29,7 +29,7 @@ class MaschineRoom extends BaseShipPart {
        }
 
        // Maschinenraum erstellen
-       public final static function createMaschineRoom () {
+       public static final function createMaschineRoom () {
                // Get new instance
                $roomInstance = new MaschineRoom();
 
index b77d9d3c10c898147bc3e516910cc4df858b0cd2..ba7883f7264edc55b4991d4acefbee0070c50455 100644 (file)
@@ -64,7 +64,7 @@ class SimulatorPersonell extends BasePersonell {
         * @return      $personellInstance              An instance of this object with a
         *                                                              list of personells
         */
-       public final static function createSimulatorPersonell ($amountPersonell) {
+       public static final function createSimulatorPersonell ($amountPersonell) {
                // Make sure only integer can pass
                $amountPersonell = (int) $amountPersonell;
 
@@ -117,7 +117,7 @@ class SimulatorPersonell extends BasePersonell {
         * @throws      MissingSimulatorIdException             If an ID number was not found
         * @deprecated
         */
-       public final static function createSimulatorPersonellByID ($idNumber) {
+       public static final function createSimulatorPersonellByID ($idNumber) {
                // Get instance
                $personellInstance = new SimulatorPersonell(false);
                $personellInstance->makeDeprecated();
index ee2824ea63f17fba37733d596f6b57ff415d588f..8a32ad2416ab6c5917a2acb3f48220cdd35c01e3 100644 (file)
@@ -32,7 +32,7 @@ class CompanyEmployee extends SimulatorPersonell {
        }
 
        // Generate a specified amount of personell
-       public final static function createCompanyEmployee ($surname, $family, $gender, $year, $month, $day, $married, $salary) {
+       public static final function createCompanyEmployee ($surname, $family, $gender, $year, $month, $day, $married, $salary) {
                // Get instance
                $personellInstance = new CompanyEmployee();
 
index e870c007d4ca42cdb95b3bd77942f1f90f0b6d59..8b01de4778b4c23fc8b9fe96b63535d30136be54 100644 (file)
@@ -64,7 +64,7 @@ class ShipSimuRegistration extends BaseRegistration implements UserRegister {
         *
         * @return      $registrationInstance   An instance of this registration class
         */
-       public final static function createShipSimuRegistration () {
+       public static final function createShipSimuRegistration () {
                // Get a new instance
                $registrationInstance = new ShipSimuRegistration();
 
index c560d4f713aba5394ad9074581b59c4a563b44f5..0b2908d38f0c1e345ff0dacba2e8fde3708520d9 100644 (file)
@@ -49,7 +49,7 @@ class WebCompanyCommandResolver extends BaseCommandResolver implements CommandRe
         * @throws      EmptyVariableException          Thrown if default command is not set
         * @throws      InvalidInterfaceException       Thrown if command does not implement interface Commandable
         */
-       public final static function createWebCompanyCommandResolver ($commandName, ManageableApplication $appInstance) {
+       public static final function createWebCompanyCommandResolver ($commandName, ManageableApplication $appInstance) {
                // Create the new instance
                $resolverInstance = new WebCompanyCommandResolver();
 
index 592e1a1dad747b6bd033e04e8576e220d7782a7f..c26494a78ecdca0b29cfac103bf0ceafc03f10fc 100644 (file)
@@ -49,7 +49,7 @@ class WebGovernmentFailedCommandResolver extends BaseCommandResolver implements
         * @throws      EmptyVariableException          Thrown if default command is not set
         * @throws      InvalidInterfaceException       Thrown if command does not implement interface Commandable
         */
-       public final static function createWebGovernmentFailedCommandResolver ($commandName, ManageableApplication $appInstance) {
+       public static final function createWebGovernmentFailedCommandResolver ($commandName, ManageableApplication $appInstance) {
                // Create the new instance
                $resolverInstance = new WebGovernmentFailedCommandResolver();
 
index c45e0ae726f2e25997624e763ead6cfd99971bcd..3fd73cb6d4930a3d48d46d4a12848f1933cce82c 100644 (file)
@@ -30,7 +30,7 @@ class PassengerShip extends BaseShip implements ConstructableShip {
        }
 
        // Passagier-Schiff erstellen
-       public final static function createPassengerShip ($shipName) {
+       public static final function createPassengerShip ($shipName) {
                // Get new instance
                $passInstance = new PassengerShip();
 
index 25021c76bda253d26f4c864f2e37a6a911ed71c2..6143b5e620c55a8f13111caa90b84b0380caa514 100644 (file)
@@ -29,7 +29,7 @@ class EconomyCabin extends BaseCabin implements TradeableItem, ConstructableShip
        }
 
        // Economy-Kabine erstellen
-       public final static function createEconomyCabin ($numLuxury, $numRooms, $numBeds, $dim) {
+       public static final function createEconomyCabin ($numLuxury, $numRooms, $numBeds, $dim) {
                // Get new instance
                $ecoInstance = new EconomyCabin();
 
index c94fbae6cab3488aa0f982cf7eb3f58e5cc4e12c..39d846223c1b899dbf0cfebedb3b82bd6fdc52d2 100644 (file)
@@ -29,7 +29,7 @@ class LowCabin extends BaseCabin implements TradeableItem, ConstructableShipPart
        }
 
        // 2-Sterne-Klasse erstellen
-       public final static function createLowCabin ($numLuxury, $numRooms, $numBeds, $dim) {
+       public static final function createLowCabin ($numLuxury, $numRooms, $numBeds, $dim) {
                // Get new instance
                $lowInstance = new LowCabin();
 
index 1c1054ab40c2bef32d2bb1a91488a5ce4fdf9ae7..f6d12aec4d04c3b662b14e4c037c6b8eb129c3c6 100644 (file)
@@ -29,7 +29,7 @@ class LuxuryCabin extends BaseCabin implements TradeableItem, ConstructableShipP
        }
 
        // Eine Luxuskabine erstellen
-       public final static function createLuxuryCabin ($numLuxury, $numRooms, $numBeds, $dim) {
+       public static final function createLuxuryCabin ($numLuxury, $numRooms, $numBeds, $dim) {
                // Get new instance
                $luxuryInstance = new LuxuryCabin();
 
index b948f2025105f351565a319b797f903adf2d47b8..e7dd75a88cfcdddb8f45960eed583042a21cb79b 100644 (file)
@@ -29,7 +29,7 @@ class PremierCabin extends BaseCabin implements TradeableItem, ConstructableShip
        }
 
        // Premier-Kabine erstellen
-       public final static function createPremierCabin ($numLuxury, $numRooms, $numBeds, $dim) {
+       public static final function createPremierCabin ($numLuxury, $numRooms, $numBeds, $dim) {
                // Get new instance
                $premierInstance = new PremierCabin();
 
index 248a076227fb7c6af6068995a6066c44f83e0411..9c6da7a6280db16c8e26ab94b52fbdfd76f35c6a 100644 (file)
@@ -29,7 +29,7 @@ class CarDeck extends BaseDeck implements TradeableItem, ConstructableShipPart {
        }
 
        // Autodeck erstellen
-       public final static function createCarDeck ($numDecks, $dim) {
+       public static final function createCarDeck ($numDecks, $dim) {
                // Get new instance
                $carInstance = new CarDeck();
 
index e22618b7fd18a2d60271ad0da431c06dbaf10faf..63b83c3cbefec63ba81f3474c27acbd7845067fd 100644 (file)
@@ -29,7 +29,7 @@ class TrainDeck extends BaseDeck implements TradeableItem, ConstructableShipPart
        }
 
        // LKW-Deck erstellen
-       public final static function createTrainDeck ($numDecks, $dim) {
+       public static final function createTrainDeck ($numDecks, $dim) {
                // Get new instance
                $trainInstance = new TrainDeck();
 
index d3e3fcb2a06e7f72387f2f3a62eba8ee3a4953c3..5bca43798d69a2aa6db51586472b3657abed4efe 100644 (file)
@@ -30,7 +30,7 @@ class TruckDeck extends BaseDeck implements TradeableItem, ConstructableShipPart
        }
 
        // LKW-Deck erstellen
-       public final static function createTruckDeck ($numDecks, $dim) {
+       public static final function createTruckDeck ($numDecks, $dim) {
                // Get new instance
                $truckInstance = new TruckDeck();
 
index 955a3d149cfe818637629c68461598c7346001fb..42808e5352dccde960247b0c2d8ba2bc952c8b16 100644 (file)
@@ -32,7 +32,7 @@ class Bridge extends BaseUpperStructure implements TradeableItem, ConstructableS
        }
 
        // Eine Kommandobruecke erstellen
-       public final static function createBridge ($width, $height, $length) {
+       public static final function createBridge ($width, $height, $length) {
                // Get new instance
                $bridgeInstance = new Bridge();
 
index 30efa0d43043edd041a4a171b19f52b0f163f52c..0dd118dc48d5d3eb4dd55c3859c5752e57b98119 100644 (file)
@@ -47,7 +47,7 @@ class ShipSimuGuest extends ShipSimuBaseUser implements ManageableGuest {
         * @return      $userInstance   An instance of this user class
         * @throws      UsernameMissingException        If the username does not exist
         */
-       public final static function createGuestByUsername ($userName) {
+       public static final function createGuestByUsername ($userName) {
                // Get a new instance
                $userInstance = new ShipSimuGuest();
 
@@ -71,7 +71,7 @@ class ShipSimuGuest extends ShipSimuBaseUser implements ManageableGuest {
         * @param       $email                  Email address of the user
         * @return      $userInstance   An instance of this user class
         */
-       public final static function createGuestByEmail ($email) {
+       public static final function createGuestByEmail ($email) {
                // Get a new instance
                $userInstance = new ShipSimuGuest();
 
index f0ccd90fb0cff19dcf2eabd9e8ab2354d504b6f8..387965d401d00222eeb195038869bf4328f60287 100644 (file)
@@ -55,7 +55,7 @@ class ShipSimuMember extends ShipSimuBaseUser implements ManageableMember, Booka
         * @return      $userInstance   An instance of this user class
         * @throws      UsernameMissingException        If the username does not exist
         */
-       public final static function createMemberByUsername ($userName) {
+       public static final function createMemberByUsername ($userName) {
                // Get a new instance
                $userInstance = new ShipSimuMember();
 
@@ -79,7 +79,7 @@ class ShipSimuMember extends ShipSimuBaseUser implements ManageableMember, Booka
         * @param       $email                  Email address of the user
         * @return      $userInstance   An instance of this user class
         */
-       public final static function createMemberByEmail ($email) {
+       public static final function createMemberByEmail ($email) {
                // Get a new instance
                $userInstance = new ShipSimuMember();
 
@@ -97,7 +97,7 @@ class ShipSimuMember extends ShipSimuBaseUser implements ManageableMember, Booka
         * @return      $userInstance           An instance of this user class
         * @todo        Add more ways of creating user instances
         */
-       public final static function createMemberByRequest (Requestable $requestInstance) {
+       public static final function createMemberByRequest (Requestable $requestInstance) {
                // Determine if by email or username
                if (!is_null($requestInstance->getRequestElement('username'))) {
                        // Username supplied
index 72e7844d67cc427e3ddeeae1933917bc2051f2fb..757135ec1048028c11a7839d722abe884d117c51 100644 (file)
@@ -51,7 +51,7 @@ class CompanyDatabaseWrapper extends BaseDatabaseWrapper {
         * @return      $wrapperInstance        An instance of this wrapper class
         * @todo        Find an interface which is suitable for all companies
         */
-       public final static function createCompanyDatabaseWrapper (ShippingCompany $companyInstance = null) {
+       public static final function createCompanyDatabaseWrapper (ShippingCompany $companyInstance = null) {
                // Create a new instance
                $wrapperInstance = new CompanyDatabaseWrapper();
 
index 428b04e5dd8d2a454ad9d2a094d125b7f83d0e53..82897bf6483e51a180316d3d51de6cf98762d9c0 100644 (file)
@@ -44,7 +44,7 @@ class UserGovernmentDatabaseWrapper extends BaseDatabaseWrapper {
         *
         * @return      $wrapperInstance        An instance of this wrapper class
         */
-       public final static function createUserGovernmentDatabaseWrapper () {
+       public static final function createUserGovernmentDatabaseWrapper () {
                // Create a new instance
                $wrapperInstance = new UserGovernmentDatabaseWrapper();