@@ -17,7 +17,6 @@ |
||
17 | 17 | use FOS\RestBundle\Util\StopFormatListenerException; |
18 | 18 | use FOS\RestBundle\View\ExceptionWrapperHandlerInterface; |
19 | 19 | use FOS\RestBundle\View\View; |
20 | -use FOS\RestBundle\View\ViewHandler; |
|
21 | 20 | use FOS\RestBundle\View\ViewHandlerInterface; |
22 | 21 | use Symfony\Bundle\FrameworkBundle\Templating\TemplateReference; |
23 | 22 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
@@ -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 | */ |
@@ -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 | { |
@@ -62,6 +62,7 @@ |
||
62 | 62 | |
63 | 63 | /** |
64 | 64 | * @param Context $context |
65 | + * @param integer $direction |
|
65 | 66 | * |
66 | 67 | * @return JMSContext |
67 | 68 | */ |