]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/file_directory/class_PathWriteProtectedException.php
Continued:
[core.git] / framework / main / exceptions / file_directory / class_PathWriteProtectedException.php
index 4e04017fc2bbde7826239afbdae2c66ef97cf2ad..a412cb2586f8701f401b92e0d6cc24f219163593 100644 (file)
@@ -14,7 +14,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
  * 
@@ -39,7 +39,7 @@ class PathWriteProtectedException 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('Path "%s" cannot be written to. Please check permissions.', $infoInstance->getPath());