Skip to content

Commit 12c1059

Browse files
authored
Adjust variable name
Adjust variable name to be like the definition in VoterInterface
1 parent a0d07bf commit 12c1059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/security/authorization.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ of :class:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterf
8787
which means they have to implement a few methods which allows the decision
8888
manager to use them:
8989

90-
``vote(TokenInterface $token, $object, array $attributes)``
90+
``vote(TokenInterface $token, $subject, array $attributes)``
9191
this method will do the actual voting and return a value equal to one
9292
of the class constants of :class:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface`,
9393
i.e. ``VoterInterface::ACCESS_GRANTED``, ``VoterInterface::ACCESS_DENIED``

0 commit comments

Comments
 (0)