code comments including license information added, type hints added, minor rewrites...
[shipsimu.git] / inc / classes / exceptions / template / class_BasePathIsEmptyException.php
index ed59ac5d7e7db19c53feea9d7a6c8ff361d2afff..e155afe735563beb2037a1fa26867216ff2f62e7 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * An exception throws when the base path is empty
+ * An exception thrown when the base path is empty
  *
  * @author             Roland Haeder <webmaster@mxchange.org>
  * @version            0.3.0
@@ -29,7 +29,7 @@ class BasePathIsEmptyException extends FrameworkException {
         * @param               $code           Code number for the exception
         * @return      void
         */
-       public final function __construct ($class, $code) {
+       public function __construct (BaseFrameworkSystem $class, $code) {
                // Add a message around the missing class
                $message = sprintf("[%s:%d] Der Template-Basispfad ist leer.",
                        $class->__toString(),