]> 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 7de24da204f36083976103e019f9d2754190c529..47272db30223e5128f3b70ac3c5fc1ebfdcd90b9 100644 (file)
@@ -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());