Continued:
[core.git] / framework / main / exceptions / main / class_IndexOutOfBoundsException.php
index 374752835de3ddc0134da19c1834d9a5e44f2992..c6359ad6447f64eea2b8c99ad37b7647458509b0 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 IndexOutOfBoundsException extends FrameworkException {
         * @param       $code           Code number for the exception
         * @return      void
         */
-       public function __construct ($message, $code) {
+       public function __construct (string $message, int $code) {
                // Add a message around the missing class
                $message = sprintf('%s is out of bounds.',
                        $message