Continued:
[core.git] / framework / main / exceptions / file_directory / class_FileNotFoundException.php
index 5285157dc2c109b1ff756c783bd2d4d418f91b13..868b0518ead98fc9eea4e714eacfc121bc61b78e 100644 (file)
@@ -13,7 +13,7 @@ use \SplFileInfo;
  *
  * @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
  * 
@@ -38,7 +38,7 @@ class FileNotFoundException extends FrameworkException {
         * @param       $code   Code number for the exception
         * @return      void
         */
-       public function __construct (SplFileInfo $infoInstance, $code) {
+       public function __construct (SplFileInfo $infoInstance, int $code) {
                // Add a message around the missing class
                $message = sprintf('File "%s" not found.', $infoInstance->getPathname());