]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/file_directory/class_FileReadProtectedException.php
Continued:
[core.git] / framework / main / exceptions / file_directory / class_FileReadProtectedException.php
index d791c3ed71e41671d5e54906445975d7cb7f33b6..47272db30223e5128f3b70ac3c5fc1ebfdcd90b9 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 - 2020 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  * 
@@ -38,7 +38,7 @@ class FileReadProtectedException 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 is read-protected. Please set read access rights (CHMOD).', $infoInstance->getPathname());