@@ -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 | * |
@@ -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 | */ |
@@ -159,7 +159,6 @@ discard block |
||
| 159 | 159 | /** |
| 160 | 160 | * Sets the normalization max depth. |
| 161 | 161 | * |
| 162 | - * @param int|null $depth |
|
| 163 | 162 | * |
| 164 | 163 | * @return self |
| 165 | 164 | */ |
@@ -173,7 +172,7 @@ discard block |
||
| 173 | 172 | /** |
| 174 | 173 | * Gets the normalization max depth. |
| 175 | 174 | * |
| 176 | - * @return int|null |
|
| 175 | + * @return integer |
|
| 177 | 176 | */ |
| 178 | 177 | public function getMaxDepth() |
| 179 | 178 | { |
@@ -197,7 +196,7 @@ discard block |
||
| 197 | 196 | /** |
| 198 | 197 | * Gets serialize null. |
| 199 | 198 | * |
| 200 | - * @return bool|null |
|
| 199 | + * @return boolean |
|
| 201 | 200 | */ |
| 202 | 201 | public function getSerializeNull() |
| 203 | 202 | { |
@@ -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 |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * @param JsonSerializationVisitor $visitor |
| 45 | - * @param Exception $exception |
|
| 45 | + * @param \Exception $exception |
|
| 46 | 46 | * @param array $type |
| 47 | 47 | * @param Context $context |
| 48 | 48 | * |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | 63 | * @param XmlSerializationVisitor $visitor |
| 64 | - * @param Exception $exception |
|
| 64 | + * @param \Exception $exception |
|
| 65 | 65 | * @param array $type |
| 66 | 66 | * @param Context $context |
| 67 | 67 | */ |