summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Kary <john@johnkary.net>2014-10-09 11:52:05 -0400
committerFabien Potencier <fabien.potencier@gmail.com>2014-10-10 18:59:52 +0200
commitf77a65b602844e8642966ba030b8a8d976ecb25f (patch)
treec9298c3c90835d425617ca25ef8f53b2b404becc
parent70e47b18c5c0fa3ba18cbcbc5ac985737cf2cbda (diff)
downloadsymfony-security-f77a65b602844e8642966ba030b8a8d976ecb25f.zip
symfony-security-f77a65b602844e8642966ba030b8a8d976ecb25f.tar.gz
symfony-security-f77a65b602844e8642966ba030b8a8d976ecb25f.tar.bz2
[Security] More accurate docblocks for AbstractVoter
-rw-r--r--Core/Authorization/Voter/AbstractVoter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Core/Authorization/Voter/AbstractVoter.php b/Core/Authorization/Voter/AbstractVoter.php
index 61c928e..5d51090 100644
--- a/Core/Authorization/Voter/AbstractVoter.php
+++ b/Core/Authorization/Voter/AbstractVoter.php
@@ -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();