X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Fauth%2Fclass_UserAuthorizationException.php;h=87334cc28a91c45bbfd31b96d26593581cd80aff;hp=0d4495b16f48dba3e12ed4678d69bebf099d6eae;hb=HEAD;hpb=a60894f1d6ef33613d2d0351075aa07aa257f304 diff --git a/framework/main/exceptions/auth/class_UserAuthorizationException.php b/framework/main/exceptions/auth/class_UserAuthorizationException.php index 0d4495b1..d100b6e0 100644 --- a/framework/main/exceptions/auth/class_UserAuthorizationException.php +++ b/framework/main/exceptions/auth/class_UserAuthorizationException.php @@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkException; * * @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 UserAuthorizationException extends FrameworkException { * @param $code Error code * @return void */ - public function __construct (Filterable $filterInstance, $code) { + public function __construct (Filterable $filterInstance, int $code) { // Construct the message $message = sprintf('[%s:%d] Authorization has failed. Error code %s', $filterInstance->__toString(),