@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | /** |
| 19 | 19 | * Return an array of supported classes. This will be called by supportsClass |
| 20 | 20 | * |
| 21 | - * @return array an array of supported classes, i.e. array('Acme\DemoBundle\Model\Product') |
|
| 21 | + * @return string[] an array of supported classes, i.e. array('Acme\DemoBundle\Model\Product') |
|
| 22 | 22 | */ |
| 23 | 23 | protected function getSupportedClasses() |
| 24 | 24 | { |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * Return an array of supported attributes. This will be called by supportsAttribute |
| 33 | 33 | * |
| 34 | - * @return array an array of supported attributes, i.e. array('CREATE', 'READ') |
|
| 34 | + * @return string[] an array of supported attributes, i.e. array('CREATE', 'READ') |
|
| 35 | 35 | */ |
| 36 | 36 | protected function getSupportedAttributes() |
| 37 | 37 | { |
@@ -713,7 +713,7 @@ |
||
| 713 | 713 | /** |
| 714 | 714 | * Security needs to be enabled to get Object. |
| 715 | 715 | * |
| 716 | - * @return SecurityUser |
|
| 716 | + * @return UserInterface |
|
| 717 | 717 | * @throws PreconditionRequiredHttpException |
| 718 | 718 | */ |
| 719 | 719 | public function getSecurityUser() |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | - * @return JsonResponse Response with result or error |
|
| 42 | + * @return Response|null Response with result or error |
|
| 43 | 43 | */ |
| 44 | 44 | public function swaggerAction() |
| 45 | 45 | { |
@@ -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) |