Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit9f7d742

Browse files
committed
minorsymfony#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 parents2657ee7 +750d527 commit9f7d742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cookbook/security/voter_interface.rst.inc

Lines 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)

[8]ページ先頭

©2009-2025 Movatter.jp