]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/xml/class_XmlNodeMismatchException.php
Continued:
[core.git] / framework / main / exceptions / xml / class_XmlNodeMismatchException.php
index 8c3e879e71064254c025d445e086f4eb96b65909..9d37f15189ffc12730f2d50a091ab4dec6b78aa1 100644 (file)
@@ -35,7 +35,7 @@ class XmlNodeMismatchException extends FrameworkException {
         * @param       $code                   Error code
         * @return      void
         */
-       public function __construct (array $classArray, $code) {
+       public function __construct (array $classArray, int $code) {
                // Construct our message
                $message = sprintf('[%s:%d] XML nodes mismatch. Given: %s, Expected: %s',
                        $classArray[0]->__toString(),