Completed
Push — takeit-patch-1 ( 382be4 )
by Rafał
14:56
created
src/SWP/Bundle/ContentBundle/File/FileDownloader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 
64 64
     private function retryDecider(): callable
65 65
     {
66
-        return function (
66
+        return function(
67 67
             $retries,
68 68
             Request $request,
69 69
             Response $response = null,
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 
103 103
     private function retryDelay(): callable
104 104
     {
105
-        return static function ($numberOfRetries): int {
105
+        return static function($numberOfRetries): int {
106 106
             return 1000 * $numberOfRetries;
107 107
         };
108 108
     }
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/EventListener/ProcessArticleMediaListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         }
43 43
 
44 44
         $items = $package->getItems()->filter(
45
-            static function ($entry) use ($guids) {
45
+            static function($entry) use ($guids) {
46 46
                 return !in_array($entry->getGuid(), $guids, true);
47 47
             }
48 48
         );
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
             if (null !== ($packageItems = $packageItem->getItems()) && 0 !== $packageItems->count()) {
60 60
                 $packageItems = $packageItem->getItems()->filter(
61
-                    static function ($entry) use ($guids) {
61
+                    static function($entry) use ($guids) {
62 62
                         return !in_array($entry->getGuid(), $guids, true);
63 63
                     }
64 64
                 );
Please login to merge, or discard this patch.
SWP/Bundle/ContentBundle/EventListener/ProcessArticleSlideshowsListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
             return;
51 51
         }
52 52
 
53
-        $groups->filter(static function ($group) {
53
+        $groups->filter(static function($group) {
54 54
             /* @var GroupInterface $group */
55 55
             return GroupInterface::TYPE_RELATED !== $group->getType();
56 56
         });
Please login to merge, or discard this patch.
SWP/Bundle/ContentBundle/EventListener/ProcessRelatedArticlesListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
         $this->removeOldRelatedArticles($article);
51 51
 
52
-        $relatedItemsGroups = $package->getGroups()->filter(static function ($group) {
52
+        $relatedItemsGroups = $package->getGroups()->filter(static function($group) {
53 53
             return GroupInterface::TYPE_RELATED === $group->getType();
54 54
         });
55 55
 
Please login to merge, or discard this patch.