]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/main/class_InvalidArrayCountException.php
Continued:
[core.git] / framework / main / exceptions / main / class_InvalidArrayCountException.php
index 3bfff9256e7657033bf0504ee5063f5ebd186ec0..d962564b3da442544d958d13809eddb7cdbbf6b9 100644 (file)
@@ -36,7 +36,7 @@ class InvalidArrayCountException extends FrameworkException {
         * @param       $code   Code number for the exception
         * @return      void
         */
-       public function __construct (array $array, $code) {
+       public function __construct (array $array, int $code) {
                // Add a message around the missing class
                $message = sprintf('[%s:%d] %s has %d elements, expected arre %d.',
                        $array[0]->__toString(),