We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0d07bf commit 12c1059Copy full SHA for 12c1059
components/security/authorization.rst
@@ -87,7 +87,7 @@ of :class:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterf
87
which means they have to implement a few methods which allows the decision
88
manager to use them:
89
90
-``vote(TokenInterface $token, $object, array $attributes)``
+``vote(TokenInterface $token, $subject, array $attributes)``
91
this method will do the actual voting and return a value equal to one
92
of the class constants of :class:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface`,
93
i.e. ``VoterInterface::ACCESS_GRANTED``, ``VoterInterface::ACCESS_DENIED``
0 commit comments