'final' added to factory methods
[shipsimu.git] / application / ship-simu / main / structures / extended / cabines / ship / class_PremierCabin.php
index 3be9a95b0c4c45367d156d0fd0012c5af66428e8..92ca60b7baa5d1b607e58da6b91a4f856c629adf 100644 (file)
@@ -44,7 +44,7 @@ class PremierCabin extends BaseCabin implements ItemIsTradeable, ConstructableSh
        }
 
        // Premier-Kabine erstellen
-       public static function createPremierCabin ($numLuxury, $numRooms, $numBeds, $dim) {
+       public final static function createPremierCabin ($numLuxury, $numRooms, $numBeds, $dim) {
                // Get new instance
                $premierInstance = new PremierCabin();