Passed
Push — master ( 786c06...376b05 )
by
unknown
09:59
created
src/DependencyInjection/OdiseoSyliusVendorExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function load(array $config, ContainerBuilder $container): void
19 19
     {
20
-        $this->processConfiguration($this->getConfiguration([], $container), $config);
20
+        $this->processConfiguration($this->getConfiguration([ ], $container), $config);
21 21
 
22 22
         $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
23 23
 
Please login to merge, or discard this patch.
src/SitemapProvider/VendorUrlProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,10 +63,10 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function generate(): iterable
65 65
     {
66
-        $urls = [];
66
+        $urls = [ ];
67 67
 
68 68
         foreach ($this->getVendors() as $vendor) {
69
-            $urls[] = $this->createVendorUrl($vendor);
69
+            $urls[ ] = $this->createVendorUrl($vendor);
70 70
         }
71 71
 
72 72
         return $urls;
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     private function getTranslations(VendorInterface $vendor): Collection
82 82
     {
83
-        return $vendor->getTranslations()->filter(function (TranslationInterface $translation): bool {
83
+        return $vendor->getTranslations()->filter(function(TranslationInterface $translation): bool {
84 84
             return $this->localeInLocaleCodes($translation);
85 85
         });
86 86
     }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         /** @var ChannelInterface $channel */
114 114
         $channel = $this->channelContext->getChannel();
115 115
 
116
-        return $channel->getLocales()->map(function (LocaleInterface $locale): ?string {
116
+        return $channel->getLocales()->map(function(LocaleInterface $locale): ?string {
117 117
             return $locale->getCode();
118 118
         })->toArray();
119 119
     }
Please login to merge, or discard this patch.