@@ -231,7 +231,7 @@ |
||
231 | 231 | * configuration if the form instance has errors. |
232 | 232 | * |
233 | 233 | * @param View $view |
234 | - * @param mixed $content |
|
234 | + * @param string|null $content |
|
235 | 235 | * |
236 | 236 | * @return int HTTP status code |
237 | 237 | */ |
@@ -47,6 +47,7 @@ discard block |
||
47 | 47 | * The best format is also determined in function of the bundle configuration. |
48 | 48 | * |
49 | 49 | * @throws StopFormatListenerException |
50 | + * @param string $header |
|
50 | 51 | */ |
51 | 52 | public function getBest($header, array $priorities = []) |
52 | 53 | { |
@@ -108,7 +109,7 @@ discard block |
||
108 | 109 | } |
109 | 110 | |
110 | 111 | /** |
111 | - * @param array $values |
|
112 | + * @param string[] $values |
|
112 | 113 | * |
113 | 114 | * @return array |
114 | 115 | */ |
@@ -135,7 +135,6 @@ |
||
135 | 135 | } |
136 | 136 | |
137 | 137 | /** |
138 | - * @param Request $request |
|
139 | 138 | * @param Template $template |
140 | 139 | * @param object $controller |
141 | 140 | * @param string $action |
@@ -133,7 +133,7 @@ |
||
133 | 133 | /** |
134 | 134 | * Check if the Request is not a DELETE with no content and no Content-Type. |
135 | 135 | * |
136 | - * @param $method |
|
136 | + * @param string $method |
|
137 | 137 | * @param $content |
138 | 138 | * @param $contentType |
139 | 139 | * |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace FOS\RestBundle\Serializer\Normalizer; |
13 | 13 | |
14 | -use Symfony\Component\Form\FormError; |
|
15 | 14 | use Symfony\Component\Form\FormInterface; |
16 | 15 | use Symfony\Component\Serializer\Normalizer\NormalizerInterface; |
17 | 16 |