more 'final' statements added
[shipsimu.git] / application / ship-simu / main / class_WorksContract.php
index 1613d7432efc1761844e3f43943e195b67c77756..aaa597fdb1ee6ac3cc67a4fa18cd0f0fa192b782 100644 (file)
@@ -127,7 +127,7 @@ class WorksContract extends BaseFrameworkSystem implements SignableContract {
        }
 
        // Setter for ship instance
-       private function setShipInstance (ConstructableShip $shipInstance) {
+       private final function setShipInstance (ConstructableShip $shipInstance) {
                if ((defined('DEBUG_CONTRACT')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Das Schiff <strong>%s</strong> wird in den Bauvertrag aufgenommen.<br />\n",
                        __CLASS__,
                        __LINE__,
@@ -137,7 +137,7 @@ class WorksContract extends BaseFrameworkSystem implements SignableContract {
        }
 
        // Setter for ship name
-       private function setShipName ($shipName) {
+       private final function setShipName ($shipName) {
                if ((defined('DEBUG_CONTRACT')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Das neue Schiff wird <strong>%s</strong> heissen.<br />\n",
                        __CLASS__,
                        __LINE__,