diff options
Diffstat (limited to 'Core')
-rw-r--r-- | Core/Authorization/Voter/AbstractVoter.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Core/Authorization/Voter/AbstractVoter.php b/Core/Authorization/Voter/AbstractVoter.php index 5d51090..43ca558 100644 --- a/Core/Authorization/Voter/AbstractVoter.php +++ b/Core/Authorization/Voter/AbstractVoter.php @@ -54,7 +54,7 @@ abstract class AbstractVoter implements VoterInterface * @param object $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 + * @return int either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED */ public function vote(TokenInterface $token, $object, array $attributes) { @@ -85,14 +85,14 @@ abstract class AbstractVoter implements VoterInterface /** * Return an array of supported classes. This will be called by supportsClass * - * @return array an array of supported classes, i.e. array('Acme\DemoBundle\Model\Product') + * @return array an array of supported classes, i.e. array('Acme\DemoBundle\Model\Product') */ abstract protected function getSupportedClasses(); /** * Return an array of supported attributes. This will be called by supportsAttribute * - * @return array an array of supported attributes, i.e. array('CREATE', 'READ') + * @return array an array of supported attributes, i.e. array('CREATE', 'READ') */ abstract protected function getSupportedAttributes(); |