type hints added, unnessarry casts removed
[mailer.git] / inc / classes / exceptions / main / class_DimNotFoundInArrayException.php
index f65a01afbc116dc062d2aee9e740a381da5b03c0..4e0bcfb714268dbeda1018a0adcd4e51ed933b17 100644 (file)
@@ -29,7 +29,7 @@ class DimNotFoundInArrayException extends FrameworkException {
         * @param               $code           Code number for the exception
         * @return      void
         */
-       public final function __construct ($class, $code) {
+       public function __construct (BaseFrameworkSystem $class, $code) {
                if (is_object($class)) {
                        // Add a message around the missing class
                        $message = sprintf("[%s:%d] Abmasse konnten nicht extrahiert werden!",