diff --git a/src/Security/Authorization/Voter/UserAclVoter.php b/src/Security/Authorization/Voter/UserAclVoter.php index 0cda8cdb8..7a4c7a0d4 100644 --- a/src/Security/Authorization/Voter/UserAclVoter.php +++ b/src/Security/Authorization/Voter/UserAclVoter.php @@ -36,6 +36,8 @@ public function supportsAttribute($attribute): bool /** * @param mixed $subject * @param mixed[] $attributes + * + * @return self::ACCESS_ABSTAIN|self::ACCESD_DENIED */ public function vote(TokenInterface $token, $subject, array $attributes): int {