@@ -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 | { |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | } |
260 | 260 | |
261 | 261 | /** |
262 | - * @param array $collection Field |
|
262 | + * @param string[] $collection Field |
|
263 | 263 | * @return $this |
264 | 264 | */ |
265 | 265 | public function setCollection(array $collection) |
@@ -287,7 +287,7 @@ discard block |
||
287 | 287 | } |
288 | 288 | |
289 | 289 | /** |
290 | - * @return mixed |
|
290 | + * @return boolean |
|
291 | 291 | */ |
292 | 292 | public function getSearchable() |
293 | 293 | { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | * |
36 | 36 | * @param SearchNode $searchNode The given search node to transform |
37 | 37 | * @param array $searchFields Which fields should be searched for all terms in SearchNode |
38 | - * @return SearchNode|OrNode|EqNode |
|
38 | + * @return AbstractQueryNode |
|
39 | 39 | */ |
40 | 40 | public function translateSearchNode(SearchNode $searchNode, $searchFields = array()) |
41 | 41 | { |