Completed
Push — dependabot/composer/phpunit/ph... ( faed93 )
by
unknown
09:34
created
src/SWP/Bundle/ContentBundle/EventListener/ProcessArticleMediaListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         }
44 44
 
45 45
         $items = $package->getItems()->filter(
46
-            static function ($entry) use ($guids) {
46
+            static function($entry) use ($guids) {
47 47
                 return !in_array($entry->getGuid(), $guids, true);
48 48
             }
49 49
         );
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Consumer/ImageConversionConsumer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -120,6 +120,9 @@
 block discarded – undo
120 120
         return ConsumerInterface::MSG_ACK;
121 121
     }
122 122
 
123
+    /**
124
+     * @param ImageInterface $image
125
+     */
123 126
     private function markArticlesMediaAsUpdated($image)
124 127
     {
125 128
         /** @var ImageRenditionInterface[] $articleMedia */
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Controller/AuthController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -228,6 +228,9 @@
 block discarded – undo
228 228
         ]);
229 229
     }
230 230
 
231
+    /**
232
+     * @param null|string $token
233
+     */
231 234
     private function generateOrGetApiKey(UserInterface $user, $token): ?ApiKeyInterface
232 235
     {
233 236
         $apiKey = null;
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentListBundle/Form/Type/ContentListType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,10 +64,10 @@
 block discarded – undo
64 64
 
65 65
         $builder->get('filters')
66 66
             ->addModelTransformer(new CallbackTransformer(
67
-                static function ($value) {
67
+                static function($value) {
68 68
                     return json_encode($value);
69 69
                 },
70
-                static function ($value) {
70
+                static function($value) {
71 71
                     if (is_array($value)) {
72 72
                         return $value;
73 73
                     }
Please login to merge, or discard this patch.