Continued:
[core.git] / framework / main / exceptions / main / class_ClassMismatchException.php
index e69f46214d502e3c47f19bb01dbbc4430a8ba8d1..36f2c1dd1b101000fb2074aaa5dfd7f4a5e54204 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkException;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 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],