@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | |
9 | 9 | /** |
10 | 10 | * @param bool $compound |
11 | - * @return bool |
|
11 | + * @return CompoundTrait |
|
12 | 12 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#compound |
13 | 13 | */ |
14 | 14 | public function setCompound($compound = true) |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | /** |
29 | - * @return bool |
|
29 | + * @return CompoundTrait |
|
30 | 30 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#compound |
31 | 31 | */ |
32 | 32 | public function removeCompound() |
@@ -101,7 +101,7 @@ |
||
101 | 101 | */ |
102 | 102 | public function setRepositoryMethod($method, $params = array()) |
103 | 103 | { |
104 | - return $this->setOption('query_builder', function (EntityRepository $repository) use ($method, $params) { |
|
104 | + return $this->setOption('query_builder', function(EntityRepository $repository) use ($method, $params) { |
|
105 | 105 | return call_user_func(array($repository, $method), $params); |
106 | 106 | }); |
107 | 107 | } |