Continued:
[core.git] / framework / main / exceptions / file_directory / class_InvalidResourceException.php
index 0e50681d30ba646cb97a1ce7a46a76331610b79c..9e720b224aae8bcd98457a443d4f597f7c74517e 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
  * 
@@ -36,7 +36,7 @@ class InvalidResourceException extends FrameworkException {
         * @param       $code   Code number for the exception
         * @return      void
         */
-       public function __construct (FrameworkInterface $class, $code) {
+       public function __construct (FrameworkInterface $class, int $code) {
                // Add a message around the missing class
                $message = sprintf('[%s:%d] Has an invalid resource.',
                        $class->__toString(),