[Security] More accurate docblocks for AbstractVoter
This commit is contained in:
parent
cf3cd9578c
commit
ed226ec258
@ -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. ['\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. ['CREATE', 'READ']
|
||||
* @return array an array of supported attributes, i.e. array('CREATE', 'READ')
|
||||
*/
|
||||
abstract protected function getSupportedAttributes();
|
||||
|
||||
|
Reference in New Issue
Block a user