X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Fmain%2Fclass_ClassMismatchException.php;h=22a1a87049daef3f26e7b54d6debfcbacaceb670;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hp=0dda95b7d1366225f38a64b145c8151e6ab524b6;hpb=78a010fef84895720e796842208f01dfb619c332;p=core.git diff --git a/framework/main/exceptions/main/class_ClassMismatchException.php b/framework/main/exceptions/main/class_ClassMismatchException.php index 0dda95b7..22a1a870 100644 --- a/framework/main/exceptions/main/class_ClassMismatchException.php +++ b/framework/main/exceptions/main/class_ClassMismatchException.php @@ -1,16 +1,16 @@ * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.shipsimu.org * @@ -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],