Passed
Push — master ( e86304...c0051e )
by
unknown
08:47
created
src/SitemapProvider/VendorUrlProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,10 +67,10 @@  discard block
 block discarded – undo
67 67
     public function generate(ChannelInterface $channel): iterable
68 68
     {
69 69
         $this->channel = $channel;
70
-        $urls = [];
70
+        $urls = [ ];
71 71
 
72 72
         foreach ($this->getVendors() as $vendor) {
73
-            $urls[] = $this->createVendorUrl($vendor);
73
+            $urls[ ] = $this->createVendorUrl($vendor);
74 74
         }
75 75
 
76 76
         return $urls;
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     private function getTranslations(VendorInterface $vendor): Collection
86 86
     {
87
-        return $vendor->getTranslations()->filter(function (TranslationInterface $translation): bool {
87
+        return $vendor->getTranslations()->filter(function(TranslationInterface $translation): bool {
88 88
             return $this->localeInLocaleCodes($translation);
89 89
         });
90 90
     }
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      */
112 112
     private function getLocaleCodes(): array
113 113
     {
114
-        return $this->channel->getLocales()->map(function (LocaleInterface $locale): ?string {
114
+        return $this->channel->getLocales()->map(function(LocaleInterface $locale): ?string {
115 115
             return $locale->getCode();
116 116
         })->toArray();
117 117
     }
Please login to merge, or discard this patch.