type hints added, unnessarry casts removed
[mailer.git] / inc / classes / exceptions / template / class_InvalidBasePathStringException.php
index 7236f6e2d6b2641344c6077346cbef4f7a91028f..96c3e33b7847c18c56f904522bbc35c0aaae02d2 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * An exception throws hen the base path string is invalid
+ * An exception thrown hen the base path string is invalid
  *
  * @author             Roland Haeder <webmaster@mxchange.org>
  * @version            0.3.0
@@ -29,7 +29,7 @@ class InvalidBasePathStringException 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] <u>%s</u> ist keine Zeichenkette!",
                        $class[0]->__toString(),