Continued:
[core.git] / framework / main / exceptions / main / class_DimNotFoundInArrayException.php
index 2be4f6f37777030d31b8db6e3697cfaa4aa6dd5b..318ad168ccce276c8eaebc4082e135d490e612b2 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
  *
  * @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
  * @deprecated Please don't use this anymore
@@ -37,7 +37,7 @@ class DimNotFoundInArrayException extends FrameworkException {
         * @param       $code   Code number for the exception
         * @return      void
         */
-       public function __construct (FrameworkInterface $class, $code) {
+       public function __construct (FrameworkInterface $class, int $code) {
                if (is_object($class)) {
                        // Add a message around the missing class
                        $message = sprintf('[%s:%d] Dimensions not found in array, array is invalid!',