]> git.mxchange.org Git - shipsimu.git/blobdiff - application/shipsimu/classes/ships/class_BaseShip.php
Continued:
[shipsimu.git] / application / shipsimu / classes / ships / class_BaseShip.php
index 73ab63ddcd62f90bb851d0704fb86f04f087a265..796d9dc8f126d4bb91aa8c1294e1bdca4b95e5bb 100644 (file)
@@ -69,7 +69,7 @@ class BaseShip extends BaseSimulator {
                if (!class_exists($partClass)) {
                        // Nicht vorhanden, dann Ausnahme werfen!
                        throw new NoClassException($partClass, self::EXCEPTION_CLASS_NOT_FOUND);
-               } // END - if
+               }
 
                // Get an instance back from our object factory
                $partInstance = ObjectFactory::createObjectByName($partClass);
@@ -134,7 +134,7 @@ class BaseShip extends BaseSimulator {
 
        // STUB: Getter-Methode Anzahl Betten
        public function calcTotalBeds () {
-               $this->partialStub("Please implement this stub in your ship!");
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this stub in your ship!');
        }
 
        // Setter-Methode fuer Schiffsnamen