@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | /** |
| 20 | 20 | * Return an array of supported classes. This will be called by supportsClass |
| 21 | 21 | * |
| 22 | - * @return array an array of supported classes, i.e. array('Acme\DemoBundle\Model\Product') |
|
| 22 | + * @return string[] an array of supported classes, i.e. array('Acme\DemoBundle\Model\Product') |
|
| 23 | 23 | */ |
| 24 | 24 | protected function getSupportedClasses() |
| 25 | 25 | { |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | /** |
| 33 | 33 | * Return an array of supported attributes. This will be called by supportsAttribute |
| 34 | 34 | * |
| 35 | - * @return array an array of supported attributes, i.e. array('CREATE', 'READ') |
|
| 35 | + * @return string[] an array of supported attributes, i.e. array('CREATE', 'READ') |
|
| 36 | 36 | */ |
| 37 | 37 | protected function getSupportedAttributes() |
| 38 | 38 | { |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | |
| 123 | 123 | /** |
| 124 | 124 | * @param string $attribute To be supported |
| 125 | - * @return void |
|
| 125 | + * @return boolean |
|
| 126 | 126 | * @throws \BadMethodCallException |
| 127 | 127 | */ |
| 128 | 128 | public function supportsAttribute($attribute) |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | |
| 134 | 134 | /** |
| 135 | 135 | * @param string $class to be supported |
| 136 | - * @return void |
|
| 136 | + * @return boolean |
|
| 137 | 137 | * @throws \BadMethodCallException |
| 138 | 138 | */ |
| 139 | 139 | public function supportsClass($class) |