@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | * |
| 155 | 155 | * @View(serializerGroups={"sonata_api_read"}, serializerEnableMaxDepthChecks=true) |
| 156 | 156 | * |
| 157 | - * @param $id |
|
| 157 | + * @param integer $id |
|
| 158 | 158 | * |
| 159 | 159 | * @return GalleryInterface |
| 160 | 160 | */ |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | * |
| 180 | 180 | * @View(serializerGroups={"sonata_api_read"}, serializerEnableMaxDepthChecks=true) |
| 181 | 181 | * |
| 182 | - * @param $id |
|
| 182 | + * @param integer $id |
|
| 183 | 183 | * |
| 184 | 184 | * @return MediaInterface[] |
| 185 | 185 | */ |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | * |
| 212 | 212 | * @View(serializerGroups={"sonata_api_read"}, serializerEnableMaxDepthChecks=true) |
| 213 | 213 | * |
| 214 | - * @param $id |
|
| 214 | + * @param integer $id |
|
| 215 | 215 | * |
| 216 | 216 | * @return GalleryItemInterface[] |
| 217 | 217 | */ |
@@ -333,7 +333,7 @@ discard block |
||
| 333 | 333 | * |
| 334 | 334 | * @throws NotFoundHttpException |
| 335 | 335 | * |
| 336 | - * @return GalleryInterface |
|
| 336 | + * @return FormInterface |
|
| 337 | 337 | */ |
| 338 | 338 | public function putGalleryMediaGalleryItemAction($galleryId, $mediaId, Request $request) |
| 339 | 339 | { |
@@ -422,6 +422,7 @@ discard block |
||
| 422 | 422 | /** |
| 423 | 423 | * Write a GalleryItem, this method is used by both POST and PUT action methods. |
| 424 | 424 | * |
| 425 | + * @param GalleryItemInterface $galleryItem |
|
| 425 | 426 | * @return FormInterface |
| 426 | 427 | */ |
| 427 | 428 | protected function handleWriteGalleryItem(GalleryInterface $gallery, MediaInterface $media, ?GalleryItemInterface $galleryItem = null, Request $request) |
@@ -476,7 +477,7 @@ discard block |
||
| 476 | 477 | /** |
| 477 | 478 | * Retrieves media with id $id or throws an exception if it doesn't exist. |
| 478 | 479 | * |
| 479 | - * @param $id |
|
| 480 | + * @param integer $id |
|
| 480 | 481 | * |
| 481 | 482 | * @throws NotFoundHttpException |
| 482 | 483 | * |
@@ -47,6 +47,7 @@ |
||
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | 49 | * {@inheritdoc} |
| 50 | + * @param string|null $view |
|
| 50 | 51 | */ |
| 51 | 52 | public function render($view, array $parameters = [], ?Response $response = null) |
| 52 | 53 | { |