Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / exceptions / template / class_BasePathIsEmptyException.php
index 78dd8571a51735521eb35fedb0305e9eb6f4ead1..432078b08484c28ffc992e69237e999394fea98d 100644 (file)
@@ -25,13 +25,13 @@ class BasePathIsEmptyException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $class          An array holding our informations
-        * @param               $code           Code number for the exception
+        * @param       $class  Class throwing this exception
+        * @param       $code   Code number for the exception
         * @return      void
         */
-       public function __construct (BaseFrameworkSystem $class, $code) {
+       public function __construct (FrameworkInterface $class, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:%d] Der Template-Basispfad ist leer.",
+               $message = sprintf("[%s:%d] Template path is empty.",
                        $class->__toString(),
                        $this->getLine()
                );