X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Fhelper%2Fclass_UserInstanceMissingException.php;h=83317cf8927037b04ee3fe173558e69a05abbfc8;hp=ee695122254175ffed6ad5c6f93ddbb9b5243082;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hpb=8a70226bd287a3f13b27932e2ec88d16c51c7e39 diff --git a/framework/main/exceptions/helper/class_UserInstanceMissingException.php b/framework/main/exceptions/helper/class_UserInstanceMissingException.php index ee695122..83317cf8 100644 --- a/framework/main/exceptions/helper/class_UserInstanceMissingException.php +++ b/framework/main/exceptions/helper/class_UserInstanceMissingException.php @@ -36,7 +36,7 @@ class UserInstanceMissingException extends FrameworkException { * @param $code Code number for the exception * @return void */ - public function __construct (array $classArray, $code) { + public function __construct (array $classArray, int $code) { // Add a message around the missing class $message = sprintf('[%s:%d] Registry key %s does not include a class with implemented interface Manageable(User|Guest).', $classArray[0]->__toString(),