X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Ffile_directory%2Fclass_FileReadProtectedException.php;fp=framework%2Fmain%2Fexceptions%2Ffile_directory%2Fclass_FileReadProtectedException.php;h=47272db30223e5128f3b70ac3c5fc1ebfdcd90b9;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hp=7de24da204f36083976103e019f9d2754190c529;hpb=8a70226bd287a3f13b27932e2ec88d16c51c7e39;p=core.git diff --git a/framework/main/exceptions/file_directory/class_FileReadProtectedException.php b/framework/main/exceptions/file_directory/class_FileReadProtectedException.php index 7de24da2..47272db3 100644 --- a/framework/main/exceptions/file_directory/class_FileReadProtectedException.php +++ b/framework/main/exceptions/file_directory/class_FileReadProtectedException.php @@ -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());