From 68d010aaffc74132b273935e382efba3f049fb37 Mon Sep 17 00:00:00 2001 From: Konstantin Myakshin Date: Fri, 2 Oct 2015 18:38:39 +0300 Subject: [PATCH] Updated PHPDoc of the AbstractVoter class --- .../Security/Core/Authorization/Voter/AbstractVoter.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Symfony/Component/Security/Core/Authorization/Voter/AbstractVoter.php b/src/Symfony/Component/Security/Core/Authorization/Voter/AbstractVoter.php index 12b54db529..799c6f7c4d 100644 --- a/src/Symfony/Component/Security/Core/Authorization/Voter/AbstractVoter.php +++ b/src/Symfony/Component/Security/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. *