@@ -54,7 +54,7 @@ |
||
54 | 54 | * Get annotation |
55 | 55 | * |
56 | 56 | * @param string $name |
57 | - * @return array |
|
57 | + * @return string |
|
58 | 58 | */ |
59 | 59 | public function getAnnotation($name) |
60 | 60 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * Get the top most (root) element of the form view |
54 | 54 | * |
55 | 55 | * @param FormView $formView |
56 | - * @return mixed |
|
56 | + * @return FormView |
|
57 | 57 | */ |
58 | 58 | public static function getFormRoot($formView) |
59 | 59 | { |
@@ -296,7 +296,7 @@ discard block |
||
296 | 296 | * Returns the ID the form's state is stored by in the session |
297 | 297 | * |
298 | 298 | * @param \Symfony\Component\Form\FormInterface $form |
299 | - * @return mixed |
|
299 | + * @return string |
|
300 | 300 | */ |
301 | 301 | public function getFormId(FormInterface $form) |
302 | 302 | { |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | /** |
124 | 124 | * Returns the 1-indexed start of the displayed range, used for displaying in templates |
125 | 125 | * |
126 | - * @return int |
|
126 | + * @return double |
|
127 | 127 | */ |
128 | 128 | public function getRangeStart() |
129 | 129 | { |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | /** |
135 | 135 | * Returns the 1-indexed end of the displayed range, used for displaying in templates |
136 | 136 | * |
137 | - * @return int |
|
137 | + * @return double |
|
138 | 138 | */ |
139 | 139 | public function getRangeEnd() |
140 | 140 | { |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | /** |
146 | 146 | * Combines the getRangeStart() and getRangeEnd() in one array |
147 | 147 | * |
148 | - * @return array |
|
148 | + * @return double[] |
|
149 | 149 | */ |
150 | 150 | public function getRange() |
151 | 151 | { |
@@ -95,7 +95,7 @@ |
||
95 | 95 | * Checks if the token is part of the current control structure. |
96 | 96 | * |
97 | 97 | * @param Twig_Token $token |
98 | - * @return mixed |
|
98 | + * @return boolean |
|
99 | 99 | */ |
100 | 100 | public function decideSwitchFork($token) |
101 | 101 | { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
107 | - * @return array |
|
107 | + * @return Twig_SimpleFilter[] |
|
108 | 108 | */ |
109 | 109 | public function getFilters() |
110 | 110 | { |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | * |
304 | 304 | * @param array|Collection $items |
305 | 305 | * @param array $keyValuePairs |
306 | - * @return array |
|
306 | + * @return Collection[] |
|
307 | 307 | */ |
308 | 308 | public function whereSplit($items, $keyValuePairs) |
309 | 309 | { |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | * </form> |
326 | 326 | * |
327 | 327 | * @param string $url |
328 | - * @return array |
|
328 | + * @return string |
|
329 | 329 | */ |
330 | 330 | public function urlStripQuery($url) |
331 | 331 | { |
@@ -772,7 +772,7 @@ discard block |
||
772 | 772 | * |
773 | 773 | * @param mixed $var |
774 | 774 | * @param string $mode |
775 | - * @return mixed |
|
775 | + * @return string|null |
|
776 | 776 | */ |
777 | 777 | public function dump($var, $mode = null) |
778 | 778 | { |