X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Fmain%2Fclass_ClassMismatchException.php;h=22a1a87049daef3f26e7b54d6debfcbacaceb670;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hp=bea27a15cf255c6f1d3c8866cf0ea802b1100e16;hpb=adcdfc000eba8fac128786adcb8cb480085e7e76;p=core.git diff --git a/framework/main/exceptions/main/class_ClassMismatchException.php b/framework/main/exceptions/main/class_ClassMismatchException.php index bea27a15..22a1a870 100644 --- a/framework/main/exceptions/main/class_ClassMismatchException.php +++ b/framework/main/exceptions/main/class_ClassMismatchException.php @@ -35,7 +35,7 @@ class ClassMismatchException 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('The class %s does not match class %s.', $classArray[0],