Completed
Pull Request — master (#1348)
by Jordi Sala
14:01
created
src/Controller/Api/GalleryController.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      *
161 161
      * @View(serializerGroups={"sonata_api_read"}, serializerEnableMaxDepthChecks=true)
162 162
      *
163
-     * @param $id
163
+     * @param integer $id
164 164
      *
165 165
      * @return GalleryInterface
166 166
      */
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      *
186 186
      * @View(serializerGroups={"sonata_api_read"}, serializerEnableMaxDepthChecks=true)
187 187
      *
188
-     * @param $id
188
+     * @param integer $id
189 189
      *
190 190
      * @return MediaInterface[]
191 191
      */
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
      *
218 218
      * @View(serializerGroups={"sonata_api_read"}, serializerEnableMaxDepthChecks=true)
219 219
      *
220
-     * @param $id
220
+     * @param integer $id
221 221
      *
222 222
      * @return GalleryItemInterface[]
223 223
      */
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
      *
340 340
      * @throws NotFoundHttpException
341 341
      *
342
-     * @return GalleryInterface
342
+     * @return FormInterface
343 343
      */
344 344
     public function putGalleryMediaGalleryItemAction($galleryId, $mediaId, Request $request)
345 345
     {
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
     /**
501 501
      * Retrieves media with id $id or throws an exception if it doesn't exist.
502 502
      *
503
-     * @param $id
503
+     * @param integer $id
504 504
      *
505 505
      * @throws NotFoundHttpException
506 506
      *
Please login to merge, or discard this patch.
src/Controller/Api/MediaController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *
143 143
      * @View(serializerGroups={"sonata_api_read"}, serializerEnableMaxDepthChecks=true)
144 144
      *
145
-     * @param $id
145
+     * @param integer $id
146 146
      *
147 147
      * @return MediaInterface
148 148
      */
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      *  }
165 165
      * )
166 166
      *
167
-     * @param $id
167
+     * @param integer $id
168 168
      *
169 169
      * @return array
170 170
      */
@@ -343,7 +343,7 @@  discard block
 block discarded – undo
343 343
      *
344 344
      * @View(serializerGroups={"sonata_api_read"}, serializerEnableMaxDepthChecks=true)
345 345
      *
346
-     * @param $id
346
+     * @param integer $id
347 347
      * @param Request $request A Symfony request
348 348
      *
349 349
      * @throws NotFoundHttpException
Please login to merge, or discard this patch.