X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Fmain%2Fclass_InvalidArrayCountException.php;h=d962564b3da442544d958d13809eddb7cdbbf6b9;hp=3bfff9256e7657033bf0504ee5063f5ebd186ec0;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hpb=8a70226bd287a3f13b27932e2ec88d16c51c7e39 diff --git a/framework/main/exceptions/main/class_InvalidArrayCountException.php b/framework/main/exceptions/main/class_InvalidArrayCountException.php index 3bfff925..d962564b 100644 --- a/framework/main/exceptions/main/class_InvalidArrayCountException.php +++ b/framework/main/exceptions/main/class_InvalidArrayCountException.php @@ -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(),