summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Coevoet <stof@notk.org>2014-08-25 10:05:09 +0200
committerChristophe Coevoet <stof@notk.org>2014-08-25 10:05:09 +0200
commit7d54a1a19687aed3f719640a78c5abdc88976445 (patch)
tree507a50d3ffc2ace488e09ae47f27aae46ff4b25d
parentd08cfa74546314800870747db855da8b20449287 (diff)
downloadsymfony-security-7d54a1a19687aed3f719640a78c5abdc88976445.zip
symfony-security-7d54a1a19687aed3f719640a78c5abdc88976445.tar.gz
symfony-security-7d54a1a19687aed3f719640a78c5abdc88976445.tar.bz2
Fixed the phpdoc of the VoterInterface
-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 abc18b4..79fa69f 100644
--- a/Core/Authorization/Voter/VoterInterface.php
+++ b/Core/Authorization/Voter/VoterInterface.php
@@ -49,7 +49,7 @@ interface VoterInterface
* ACCESS_GRANTED, ACCESS_DENIED, or ACCESS_ABSTAIN.
*
* @param TokenInterface $token A TokenInterface instance
- * @param object $object The object to secure
+ * @param object|null $object The object to secure
* @param array $attributes An array of attributes associated with the method being invoked
*
* @return int either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED