File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2725,7 +2725,7 @@ anonymous users access by checking if there is no user set on the token::
27252725
27262726.. versionadded :: 7.3
27272727
2728- The vote parameter in the :method: `Symfony\\ Component\\ Security\\ Core\\ Authorization\\ Voter\\ VoterInterface::voteOnAttribute ` method
2728+ The ` $ vote` parameter in the :method: `Symfony\\ Component\\ Security\\ Core\\ Authorization\\ Voter\\ VoterInterface::voteOnAttribute ` method
27292729 was introduced in Symfony 7.3.
27302730
27312731Setting Individual User Permissions
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ which makes creating a voter even easier::
5151
5252.. versionadded :: 7.3
5353
54- The vote parameter in the :method: `Symfony\\ Component\\ Security\\ Core\\ Authorization\\ Voter\\ VoterInterface::voteOnAttribute ` method
54+ The ` $ vote` parameter in the :method: `Symfony\\ Component\\ Security\\ Core\\ Authorization\\ Voter\\ VoterInterface::voteOnAttribute ` method
5555 was introduced in Symfony 7.3.
5656
5757.. _how-to-use-the-voter-in-a-controller :
@@ -211,6 +211,7 @@ would look like this::
211211 }
212212
213213 $vote->reasons[] = 'You are not the owner of the Post.';
214+
214215 return false;
215216 }
216217 }
You can’t perform that action at this time.
0 commit comments