X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Ffile_directory%2Fclass_FileIsEmptyException.php;h=55fe201efc0306cf721e8b277ddcea2d3f867f2c;hp=a44be0273900213f7a02906075f847e3ede53ec2;hb=b9bfbe86c031c9d83c3670602906df191a33ba2a;hpb=5da8f717122568335b8a8ab230fa0de17e983fab diff --git a/framework/main/exceptions/file_directory/class_FileIsEmptyException.php b/framework/main/exceptions/file_directory/class_FileIsEmptyException.php index a44be027..55fe201e 100644 --- a/framework/main/exceptions/file_directory/class_FileIsEmptyException.php +++ b/framework/main/exceptions/file_directory/class_FileIsEmptyException.php @@ -5,6 +5,9 @@ namespace CoreFramework\Deprecated; // Import framework stuff use CoreFramework\Generic\FrameworkException; +// Import SPL stuff +use \SplFileInfo; + /** * An exception thrown when a file name is empty or NULL. * @@ -32,11 +35,11 @@ class FileIsEmptyException extends FrameworkException { /** * The constructor * - * @param $fqfn Ignored + * @param $infoInstance An instance of a SplFileInfo class (ignored) * @param $code Code number for the exception * @return void */ - public function __construct ($fqfn, $code) { + public function __construct (SplFileInfo $infoInstance, $code) { // Call parent constructor parent::__construct('No file name provided.', $code); }