X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Fauth%2Fclass_UserAuthorizationException.php;h=c2a0b2f05163fc29621abb6091b3de19bb632a09;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hp=9148ba6d8d9628208a63cd1c5bf8e2ad2e4a27a4;hpb=78a010fef84895720e796842208f01dfb619c332;p=core.git diff --git a/framework/main/exceptions/auth/class_UserAuthorizationException.php b/framework/main/exceptions/auth/class_UserAuthorizationException.php index 9148ba6d..c2a0b2f0 100644 --- a/framework/main/exceptions/auth/class_UserAuthorizationException.php +++ b/framework/main/exceptions/auth/class_UserAuthorizationException.php @@ -1,17 +1,17 @@ * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 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 * @@ -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(),