]> 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 3d9945e17a6ecdfee7e3e8a34b5490943de32945..7812f2a1602157643b4d6b9f01988aa79b178273 100644 (file)
@@ -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());