]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/auth/class_UserAuthorizationException.php
Continued:
[core.git] / framework / main / exceptions / auth / class_UserAuthorizationException.php
index 0d4495b16f48dba3e12ed4678d69bebf099d6eae..d100b6e079d60ae87a375cee3eab8a0f05c67cd2 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkException;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @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(),