Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 authored Dec 19, 2023
1 parent 334fca1 commit bcc3d05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Security/Authorization/Voter/UserAclVoter.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ public function supportsAttribute($attribute): bool
}

/**
* @param mixed $subject
* @param mixed[] $attributes
*
* @return self::ACCESS_ABSTAIN|self::ACCESS_DENIED
*/
public function vote(TokenInterface $token, $subject, array $attributes): int
public function vote(TokenInterface $token, mixed $subject, array $attributes): int
{
if (!\is_object($subject) || !$this->supportsClass($subject::class)) {
return self::ACCESS_ABSTAIN;
Expand Down

0 comments on commit bcc3d05

Please sign in to comment.