@@ -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 |
@@ -64,10 +64,8 @@ |
||
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | - * @param string $format |
|
| 68 | 67 | * @param FlattenException $exception |
| 69 | 68 | * @param int $code |
| 70 | - * @param array $parameters |
|
| 71 | 69 | * @param Request $request |
| 72 | 70 | * @param bool $showException |
| 73 | 71 | * |
@@ -11,10 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace FOS\RestBundle\Controller; |
| 13 | 13 | |
| 14 | -use FOS\RestBundle\Negotiation\FormatNegotiator; |
|
| 15 | -use FOS\RestBundle\Util\StopFormatListenerException; |
|
| 16 | -use FOS\RestBundle\Util\ExceptionWrapper; |
|
| 17 | -use FOS\RestBundle\View\ExceptionWrapperHandlerInterface; |
|
| 18 | 14 | use FOS\RestBundle\View\View; |
| 19 | 15 | use FOS\RestBundle\View\ViewHandlerInterface; |
| 20 | 16 | use Symfony\Component\HttpFoundation\Request; |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Symfony\Bundle\FrameworkBundle\Templating\TemplateReference; |
| 15 | 15 | use Symfony\Component\Debug\Exception\FlattenException; |
| 16 | 16 | use Symfony\Component\HttpFoundation\Request; |
| 17 | -use Symfony\Component\HttpKernel\Log\DebugLoggerInterface; |
|
| 18 | 17 | |
| 19 | 18 | /** |
| 20 | 19 | * Custom ExceptionController that uses the view layer and supports HTTP response status code mapping. |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Symfony\Component\Form\FormError; |
| 16 | 16 | use Symfony\Component\Form\FormInterface; |
| 17 | 17 | use Symfony\Component\Serializer\Normalizer\NormalizerInterface; |
| 18 | -use Symfony\Component\Translation\TranslatorInterface; |
|
| 19 | 18 | |
| 20 | 19 | /** |
| 21 | 20 | * Normalizer for ExceptionWrapper instances. |