X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Ffile_directory%2Fclass_InvalidResourceException.php;h=374768a1291537f520d56bfbaf14853b60e29e27;hp=0e50681d30ba646cb97a1ce7a46a76331610b79c;hb=refs%2Fheads%2Fmaster;hpb=a60894f1d6ef33613d2d0351075aa07aa257f304 diff --git a/framework/main/exceptions/file_directory/class_InvalidResourceException.php b/framework/main/exceptions/file_directory/class_InvalidResourceException.php index 0e50681d..9e720b22 100644 --- a/framework/main/exceptions/file_directory/class_InvalidResourceException.php +++ b/framework/main/exceptions/file_directory/class_InvalidResourceException.php @@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkInterface; * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.shipsimu.org * @@ -36,7 +36,7 @@ class InvalidResourceException extends FrameworkException { * @param $code Code number for the exception * @return void */ - public function __construct (FrameworkInterface $class, $code) { + public function __construct (FrameworkInterface $class, int $code) { // Add a message around the missing class $message = sprintf('[%s:%d] Has an invalid resource.', $class->__toString(),