code comments including license information added, type hints added, minor rewrites...
[shipsimu.git] / inc / classes / exceptions / template / class_InvalidTemplateVariableNameException.php
index 6dc35afb01da721a85146c9673f029ebae6b87d7..8a3151cc0db682272295a9a8655f8e6e12c5ca2c 100644 (file)
@@ -29,7 +29,7 @@ class InvalidTemplateVariableNameException 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] Die im Template <u>%s</u> gefundene Variable <u>%s</u> ist nicht g&uuml;ltig! G&uuml;ltige Variablennamen sind nur <u>%s</strong>.",
                        $class[0]->__toString(),