Completed
Pull Request — 1.5 (#768)
by Paweł
20:24 queued 08:26
created
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(function ($group) {
52
+        $relatedItemsGroups = $package->getGroups()->filter(function($group) {
53 53
             return GroupInterface::TYPE_RELATED === $group->getType();
54 54
         });
55 55
 
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Matcher/RulesMatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 
144 144
         $ids = array_column($rules['tenants'], 'tenant');
145 145
         $ids = array_unique($ids);
146
-        $tenants = array_filter($rules['tenants'], function ($key, $value) use ($ids) {
146
+        $tenants = array_filter($rules['tenants'], function($key, $value) use ($ids) {
147 147
             return array_key_exists($value, $ids);
148 148
         }, ARRAY_FILTER_USE_BOTH);
149 149
 
Please login to merge, or discard this patch.
SWP/Bundle/CoreBundle/Controller/RelatedArticleOrganizationController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
     private function getRelated(PackageInterface $package): RelatedArticleList
76 76
     {
77
-        $relatedItemsGroups = $package->getGroups()->filter(function ($group) {
77
+        $relatedItemsGroups = $package->getGroups()->filter(function($group) {
78 78
             return GroupInterface::TYPE_RELATED === $group->getType();
79 79
         });
80 80
 
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Manager/MediaManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 
165 165
     protected function retryDecider()
166 166
     {
167
-        return function (
167
+        return function(
168 168
             $retries,
169 169
             Request $request,
170 170
             Response $response = null,
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 
206 206
     protected function retryDelay()
207 207
     {
208
-        return function ($numberOfRetries): int {
208
+        return function($numberOfRetries): int {
209 209
             return 1000 * $numberOfRetries;
210 210
         };
211 211
     }
Please login to merge, or discard this patch.