summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Eguiluz <javier.eguiluz@gmail.com>2016-01-18 17:25:45 +0100
committerJavier Eguiluz <javier.eguiluz@gmail.com>2016-01-18 17:25:45 +0100
commit83e9f572af0d8c84f5f6ae14a5e7af5fb7b0f7fb (patch)
treeb8d6282135c0ebb5ea496448bf2927302c64b271
parent8bf6f4244d5e78043d30f948454546e23b8d3bef (diff)
downloadsymfony-security-83e9f572af0d8c84f5f6ae14a5e7af5fb7b0f7fb.zip
symfony-security-83e9f572af0d8c84f5f6ae14a5e7af5fb7b0f7fb.tar.gz
symfony-security-83e9f572af0d8c84f5f6ae14a5e7af5fb7b0f7fb.tar.bz2
Fixed the documentation of VoterInterface::supportsAttribute
-rw-r--r--Core/Authorization/Voter/VoterInterface.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Authorization/Voter/VoterInterface.php b/Core/Authorization/Voter/VoterInterface.php
index d00ff1c..1032cb2 100644
--- a/Core/Authorization/Voter/VoterInterface.php
+++ b/Core/Authorization/Voter/VoterInterface.php
@@ -27,7 +27,7 @@ interface VoterInterface
/**
* Checks if the voter supports the given attribute.
*
- * @param string $attribute An attribute
+ * @param mixed $attribute An attribute (usually the attribute name string)
*
* @return bool true if this Voter supports the attribute, false otherwise
*/