diff --git a/src/Validator/Constraints/IsTrueValidator.php b/src/Validator/Constraints/IsTrueValidator.php index fe60ba2..ce06bcf 100755 --- a/src/Validator/Constraints/IsTrueValidator.php +++ b/src/Validator/Constraints/IsTrueValidator.php @@ -41,11 +41,10 @@ class IsTrueValidator extends ConstraintValidator protected bool $verifyHost; /** - * Authorization Checker. - * - * @var AuthorizationChecker + * + * @var AuthorizationChecker|null */ - protected AuthorizationChecker $authorizationChecker; + protected ?AuthorizationCheckerInterface $authorizationChecker; /** * Trusted Roles.