10000 minor #17419 Fixed the documentation of VoterInterface::supportsAttri… · symfony/symfony@1941add · GitHub
[go: up one dir, main page]

Skip to content

Commit 1941add

Browse files
committed
minor #17419 Fixed the documentation of VoterInterface::supportsAttribute (javiereguiluz)
This PR was merged into the 2.3 branch. Discussion ---------- Fixed the documentation of VoterInterface::supportsAttribute | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #1 D8D9 4655 | License | MIT | Doc PR | - Commits ------- d662c2a Fixed the documentation of VoterInterface::supportsAttribute
2 parents 4224b1b + d662c2a commit 1941add

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Core/Authorization/Voter/VoterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface VoterInterface
2727
/**
2828
* Checks if the voter supports the given attribute.
2929
*
30-
* @param string $attribute An attribute
30+
* @param mixed $attribute An attribute (usually the attribute name string)
3131
*
3232
* @return bool true if this Voter supports the attribute, false otherwise
3333
*/

0 commit comments

Comments
 (0)
0