]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/template/class_InvalidDirectoryException.php
Continued:
[core.git] / framework / main / exceptions / template / class_InvalidDirectoryException.php
index db3abcf21274afdf72cf511a479670898873ffdb..d87cfbefac51748e312b64a0ec1428215fcf69fa 100644 (file)
@@ -35,7 +35,7 @@ class InvalidDirectoryException extends FrameworkException {
         * @param       $code                   Code number for the exception
         * @return      void
         */
-       public function __construct (array $classArray, $code) {
+       public function __construct (array $classArray, int $code) {
                // Add a message around the missing class
                $message = sprintf('[%s:%d] Path "%s" is no directory.',
                        $classArray[0]->__toString(),