X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Ffile_directory%2Fclass_FileIoException.php;h=a1be8612c89c79744c5864757269f95f372596c7;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hp=1c3f72f4559febdc3415cfc7b1bba4f873f658de;hpb=f57dd51863ec9baacba447d76b46d5c709b9b02e;p=core.git diff --git a/framework/main/exceptions/file_directory/class_FileIoException.php b/framework/main/exceptions/file_directory/class_FileIoException.php index 1c3f72f4..a1be8612 100644 --- a/framework/main/exceptions/file_directory/class_FileIoException.php +++ b/framework/main/exceptions/file_directory/class_FileIoException.php @@ -14,7 +14,7 @@ use \SplFileInfo; * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2019 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.shipsimu.org * @@ -39,7 +39,7 @@ class FileIoException 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('A problem has been detected reading or writing to/from %s.', $infoInstance->getPathname());