summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Myakshin <koc-dp@yandex.ru>2015-10-02 18:38:39 +0300
committerKonstantin Myakshin <koc-dp@yandex.ru>2015-10-02 18:38:39 +0300
commitbff03f8800d518efe8ccd579e1ac3b4f20c4d5bb (patch)
tree165d9005e2e4d464095ff9c9fb6a419027743c91
parent0d3da2a02c2ebabb1e6a4ce898308c1989963185 (diff)
downloadsymfony-security-bff03f8800d518efe8ccd579e1ac3b4f20c4d5bb.zip
symfony-security-bff03f8800d518efe8ccd579e1ac3b4f20c4d5bb.tar.gz
symfony-security-bff03f8800d518efe8ccd579e1ac3b4f20c4d5bb.tar.bz2
Updated PHPDoc of the AbstractVoter class
-rw-r--r--Core/Authorization/Voter/AbstractVoter.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/Core/Authorization/Voter/AbstractVoter.php b/Core/Authorization/Voter/AbstractVoter.php
index 12b54db..799c6f7 100644
--- a/Core/Authorization/Voter/AbstractVoter.php
+++ b/Core/Authorization/Voter/AbstractVoter.php
@@ -183,11 +183,8 @@ abstract class AbstractVoter implements VoterInterface
}
/**
- * Perform a single access check operation on a given attribute, object and (optionally) user
- * It is safe to assume that $attribute and $object's class pass supportsAttribute/supportsClass
- * $user can be one of the following:
- * a UserInterface object (fully authenticated user)
- * a string (anonymously authenticated user).
+ * Perform a single access check operation on a given attribute, object and token.
+ * It is safe to assume that $attribute and $object's class pass supports method call.
*
* This method will become abstract in 3.0.
*