@@ -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; |
@@ -345,7 +345,7 @@ discard block |
||
| 345 | 345 | /** |
| 346 | 346 | * Gets the HTTP status code. |
| 347 | 347 | * |
| 348 | - * @return int|null |
|
| 348 | + * @return integer |
|
| 349 | 349 | */ |
| 350 | 350 | public function getStatusCode() |
| 351 | 351 | { |
@@ -375,7 +375,7 @@ discard block |
||
| 375 | 375 | /** |
| 376 | 376 | * Gets the template variable name. |
| 377 | 377 | * |
| 378 | - * @return string|null |
|
| 378 | + * @return string |
|
| 379 | 379 | */ |
| 380 | 380 | public function getTemplateVar() |
| 381 | 381 | { |
@@ -385,7 +385,7 @@ discard block |
||
| 385 | 385 | /** |
| 386 | 386 | * Gets the engine. |
| 387 | 387 | * |
| 388 | - * @return string|null |
|
| 388 | + * @return string |
|
| 389 | 389 | */ |
| 390 | 390 | public function getEngine() |
| 391 | 391 | { |
@@ -395,7 +395,7 @@ discard block |
||
| 395 | 395 | /** |
| 396 | 396 | * Gets the format. |
| 397 | 397 | * |
| 398 | - * @return string|null |
|
| 398 | + * @return string |
|
| 399 | 399 | */ |
| 400 | 400 | public function getFormat() |
| 401 | 401 | { |