'final' added to factory methods
[shipsimu.git] / application / ship-simu / main / constructions / harbors / class_Harbor.php
index ce273ad58f3143f9ebfc2e4b5f3ad708130d6f10..7c1ce55c1f8e0aa2a3630be356f9e22887798df4 100644 (file)
@@ -54,7 +54,7 @@ class Harbor extends BaseConstruction {
        }
 
        // Creates a harbor
-       public static function createHarbor ($harborName) {
+       public final static function createHarbor ($harborName) {
                // Hafen-Instanz holen
                $harborInstance = new Harbor();