[Security] More accurate docblocks for AbstractVoter

This commit is contained in:
John Kary 2014-10-09 11:52:05 -04:00 committed by Fabien Potencier
parent cf3cd9578c
commit ed226ec258

View File

@ -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();