8000 Updated PHPDoc of the AbstractVoter class · wouterj/symfony@68d010a · GitHub
[go: up one dir, main page]

Skip to content

Commit 68d010a

Browse files
committed
Updated PHPDoc of the AbstractVoter class
1 parent 1805649 commit 68d010a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Symfony/Component/Security/Core/Authorization/Voter/AbstractVoter.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,8 @@ protected function isGranted($attribute, $object, $user = null)
183183
}
184184

185185
/**
186-
* Perform a single access check operation on a given attribute, object and (optionally) user
187-
* It is safe to assume that $attribute and $object's class pass supportsAttribute/supportsClass
188-
* $user can be one of the following:
189-
* a UserInterface object (fully authenticated user)
190-
* a string (anonymously authenticated user).
186+
* Perform a single access check operation on a given attribute, object and token.
187+
* It is safe to assume that $attribute and $object's class pass supports method call.
191188
*
192189
* This method will become abstract in 3.0.
193190
*

0 commit comments

Comments
 (0)
0