8000 [Security] More accurate docblocks for AbstractVoter · matthieuauger/symfony@ed226ec · GitHub
[go: up one dir, main page]

Skip to content

Commit ed226ec

Browse files
johnkaryfabpot
authored andcommitted
[Security] More accurate docblocks for AbstractVoter
1 parent cf3cd95 commit ed226ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ public function vote(TokenInterface $token, $object, array $attributes)
8585
/**
8686
* Return an array of supported classes. This will be called by supportsClass
8787
*
88-
* @return array an array of supported classes, i.e. ['\Acme\DemoBundle\Model\Product']
88+
* @return array an array of supported classes, i.e. array('Acme\DemoBundle\Model\Product')
8989
*/
9090
abstract protected function getSupportedClasses();
9191

9292
/**
9393
* Return an array of supported attributes. This will be called by supportsAttribute
9494
*
95-
* @return array an array of supported attributes, i.e. ['CREATE', 'READ']
95+
* @return array an array of supported attributes, i.e. array('CREATE', 'READ')
9696
*/
9797
abstract protected function getSupportedAttributes();
9898

0 commit comments

Comments
 (0)
0