]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/template/class_UnexpectedTemplateTypeException.php
Continued:
[core.git] / framework / main / exceptions / template / class_UnexpectedTemplateTypeException.php
index 11f52768c5cb1db09dba5255f0a2be60e5bda8cc..3225203cd97eec393c4591b8f3813328d937fc8a 100644 (file)
@@ -32,17 +32,17 @@ class UnexpectedTemplateTypeException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param       $msgArray       An array holding our informations
+        * @param       $messageArray   An array holding our informations
         * @param       $code           Code number for the exception
         * @return      void
         */
-       public function __construct (array $msgArray, $code) {
+       public function __construct (array $messageArray, int $code) {
                // Add a message around the missing class
                $message = sprintf('[%s:%d] Der Template-Typ %s entspricht nicht dem erwartetem Template-Typ %s.',
-                       $msgArray[0]->__toString(),
+                       $messageArray[0]->__toString(),
                        $this->getLine(),
-                       $msgArray[1],
-                       $msgArray[2]
+                       $messageArray[1],
+                       $messageArray[2]
                );
 
                // Call parent constructor