projects
/
shipsimu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
'final' added to factory methods
[shipsimu.git]
/
application
/
ship-simu
/
main
/
constructions
/
harbors
/
class_Harbor.php
diff --git
a/application/ship-simu/main/constructions/harbors/class_Harbor.php
b/application/ship-simu/main/constructions/harbors/class_Harbor.php
index ce273ad58f3143f9ebfc2e4b5f3ad708130d6f10..7c1ce55c1f8e0aa2a3630be356f9e22887798df4 100644
(file)
--- a/
application/ship-simu/main/constructions/harbors/class_Harbor.php
+++ b/
application/ship-simu/main/constructions/harbors/class_Harbor.php
@@
-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();