Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9f7d742

Browse filesBrowse files
committed
minor #3654 [Cookbook][Security] Fix VoterInterface signature (bicpi)
This PR was merged into the 2.3 branch. Discussion ---------- [Cookbook][Security] Fix VoterInterface signature | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | - Commits ------- 750d527 [Cookbook][Security] Fix VoterInterface signature
2 parents 2657ee7 + 750d527 commit 9f7d742
Copy full SHA for 9f7d742

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎cookbook/security/voter_interface.rst.inc

Copy file name to clipboardExpand all lines: cookbook/security/voter_interface.rst.inc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
public function supportsAttribute($attribute);
66
public function supportsClass($class);
7-
public function vote(TokenInterface $token, $post, array $attributes);
7+
public function vote(TokenInterface $token, $object, array $attributes);
88
}
99

1010
The :method:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::supportsAttribute`

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.