@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | * |
331 | 331 | * @throws NotFoundHttpException |
332 | 332 | * |
333 | - * @return GalleryInterface |
|
333 | + * @return FormInterface |
|
334 | 334 | */ |
335 | 335 | public function putGalleryMediaGalleryItemAction($galleryId, $mediaId, Request $request) |
336 | 336 | { |
@@ -455,6 +455,7 @@ discard block |
||
455 | 455 | * |
456 | 456 | * @throws NotFoundHttpException |
457 | 457 | * |
458 | + * @param integer $id |
|
458 | 459 | * @return GalleryInterface |
459 | 460 | */ |
460 | 461 | protected function getGallery($id) |
@@ -473,6 +474,7 @@ discard block |
||
473 | 474 | * |
474 | 475 | * @throws NotFoundHttpException |
475 | 476 | * |
477 | + * @param integer $id |
|
476 | 478 | * @return MediaInterface |
477 | 479 | */ |
478 | 480 | protected function getMedia($id) |
@@ -42,6 +42,9 @@ |
||
42 | 42 | return parent::createAction(); |
43 | 43 | } |
44 | 44 | |
45 | + /** |
|
46 | + * @param string|null $view |
|
47 | + */ |
|
45 | 48 | public function render($view, array $parameters = [], ?Response $response = null) |
46 | 49 | { |
47 | 50 | $parameters['media_pool'] = $this->get('sonata.media.pool'); |