]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/factories/objects/class_ObjectFactory.php
'public static final' is correct
[core.git] / inc / classes / main / factories / objects / class_ObjectFactory.php
index e3d81a825213cad7719b097ec8f0192d744d6691..f84579e5f7e7187db60a2dcabceb90e36871be81 100644 (file)
@@ -49,7 +49,7 @@ class ObjectFactory extends BaseFactory {
         * @throws      NoClassException        If the requested class was not found
         * @throws      EmptyVariableException  If a variable is empty unexpectly
         */
-       public final static function createObjectByName ($className, array $args=array()) {
+       public static final function createObjectByName ($className, array $args=array()) {
                // First get an instance of this factory
                $factoryInstance = new ObjectFactory();
 
@@ -84,7 +84,7 @@ class ObjectFactory extends BaseFactory {
         * @param       $args                           Arguments in an indexed array
         * @return      $objectInstance         An instance of the requested object
         */
-       public final static function createObjectByConfiguredName ($configEntry, array $args=array()) {
+       public static final function createObjectByConfiguredName ($configEntry, array $args=array()) {
                // Read the configuration entry
                $className = FrameworkConfiguration::getInstance()->getConfigEntry($configEntry);
 
@@ -100,7 +100,7 @@ class ObjectFactory extends BaseFactory {
         *
         * @return      $total  Total amount of generated objects
         */
-       public final static function getTotal () {
+       public static final function getTotal () {
                return self::$total;
        }
 }