]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/parts/class_BaseShipPart.php
Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / application / ship-simu / main / parts / class_BaseShipPart.php
index 07ecd92d89c28e876267077f27106fefb8f290f5..014b4cba335009f2bb72c595c91055c4b644bf34 100644 (file)
@@ -26,9 +26,9 @@ class BaseShipPart extends BaseSimulator {
        private $price = 0.00;
 
        // Konstruktor
-       protected function __construct($class) {
+       protected function __construct($className) {
                // Call parent constructor
-               parent::__construct($class);
+               parent::__construct($className);
 
                // Beschreibung
                $this->setObjectDescription("Schiffsteil");