]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/template/class_NoVariableException.php
Continued:
[core.git] / framework / main / exceptions / template / class_NoVariableException.php
index 17e05f2466603d8370aa9707665d1364f47ff8bc..30fd5542b5f86cdb216746fb0f80590c17cb60e9 100644 (file)
@@ -36,7 +36,7 @@ class NoVariableException extends FrameworkException {
         * @param       $code                   Code number for the exception
         * @return      void
         */
-       public function __construct (array $messageArray, $code) {
+       public function __construct (array $messageArray, int $code) {
                // Add a message around the missing class
                $message = sprintf('[%s:%d] Variable %s is not set, cannot modify(?) its value to %s.',
                        $messageArray[0]->__toString(),