]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/file_directory/class_FileWriteProtectedException.php
Continued:
[core.git] / framework / main / exceptions / file_directory / class_FileWriteProtectedException.php
index 202ba1fa6d762224764c0358aadabf043d847602..d440737f75f8770533997e3c570fd536e2afe65f 100644 (file)
@@ -38,7 +38,7 @@ class FileWriteProtectedException 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 cannot be written. Please check file and/or directory permissions.', $infoInstance->getPathname());