Skip to content

Commit 09e83ec

Browse files
committed
minor #16959 [Security] Adjust variable name (sfmok)
This PR was merged into the 4.4 branch. Discussion ---------- [Security] Adjust variable name Adjust variable name to be like the definition in VoterInterface Commits ------- 12c1059 Adjust variable name
2 parents a0d07bf + 12c1059 commit 09e83ec

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)