Skip to content

Commit d662c2a

Browse files
committed
Fixed the documentation of VoterInterface::supportsAttribute
1 parent b702448 commit d662c2a

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)