Completed
Pull Request — master (#1775)
by Wojciech
11:51
created
src/Controller/Api/GalleryController.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
473 474
      *
474 475
      * @throws NotFoundHttpException
475 476
      *
477
+     * @param integer $id
476 478
      * @return MediaInterface
477 479
      */
478 480
     protected function getMedia($id)
Please login to merge, or discard this patch.
src/Controller/MediaAdminController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.