Skip to content

Commit

Permalink
Actualizar AclVoter.php
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
  • Loading branch information
jordisala1991 and nicolas-grekas authored Oct 2, 2024
1 parent 29379e6 commit 17f2255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Voter/AclVoter.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function supportsAttribute($attribute)
return \is_string($attribute) && $this->permissionMap->contains($attribute);
}

private function doVote(TokenInterface $token, $subject, array $attributes)
private function doVote(TokenInterface $token, $subject, array $attributes): int
{
foreach ($attributes as $attribute) {
if (!$this->supportsAttribute($attribute)) {
Expand Down

0 comments on commit 17f2255

Please sign in to comment.