Completed
Push — master ( 37437f...ee8b75 )
by Grégoire
02:13
created
src/Controller/MediaAdminController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -41,6 +41,7 @@
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * {@inheritdoc}
44
+     * @param string|null $view
44 45
      */
45 46
     public function render($view, array $parameters = [], Response $response = null)
46 47
     {
Please login to merge, or discard this patch.
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/Command/UpdateCdnStatusCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
      * Write a message to the output.
131 131
      *
132 132
      * @param string    $message
133
-     * @param bool|true $newLine
133
+     * @param boolean $newLine
134 134
      */
135 135
     protected function log($message, $newLine = true): void
136 136
     {
Please login to merge, or discard this patch.
src/Provider/MetadataInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -20,10 +20,16 @@
 block discarded – undo
20 20
 {
21 21
     public function getTitle(): string;
22 22
 
23
+    /**
24
+     * @return string|null
25
+     */
23 26
     public function getDescription(): ?string;
24 27
 
25 28
     public function getImage(): string;
26 29
 
30
+    /**
31
+     * @return string|null
32
+     */
27 33
     public function getDomain(): ?string;
28 34
 
29 35
     /**
Please login to merge, or discard this patch.
src/Twig/Extension/MediaExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
     }
195 195
 
196 196
     /**
197
-     * @param mixed $media
197
+     * @param MediaInterface $media
198 198
      */
199 199
     private function getMedia($media): ?MediaInterface
200 200
     {
Please login to merge, or discard this patch.