@@ -131,7 +131,7 @@ |
||
131 | 131 | /** |
132 | 132 | * Check if the Request is a not a DELETE with no content and no Content-Type. |
133 | 133 | * |
134 | - * @param $method |
|
134 | + * @param string $method |
|
135 | 135 | * @param $content |
136 | 136 | * @param $contentType |
137 | 137 | * |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Doctrine\Common\Annotations\Reader; |
15 | 15 | use FOS\RestBundle\Controller\Annotations\Route as RouteAnnotation; |
16 | 16 | use FOS\RestBundle\Inflector\InflectorInterface; |
17 | -use FOS\RestBundle\Request\ParamReader; |
|
18 | 17 | use FOS\RestBundle\Routing\RestRouteCollection; |
19 | 18 | use Symfony\Component\Routing\Route; |
20 | 19 | use FOS\RestBundle\Request\ParamReaderInterface; |
@@ -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 | */ |