Passed
Push — master ( 25d1e8...d3e5b3 )
by
unknown
06:14
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.
src/Form/Type/VendorType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,12 +71,12 @@
 block discarded – undo
71 71
         parent::configureOptions($resolver);
72 72
 
73 73
         $resolver->setDefaults([
74
-            'validation_groups' => function (FormInterface $form): array {
74
+            'validation_groups' => function(FormInterface $form): array {
75 75
                 /** @var VendorInterface|null $vendor */
76 76
                 $vendor = $form->getData();
77 77
 
78 78
                 if (!$vendor instanceof VendorInterface || null === $vendor->getId()) {
79
-                    return array_merge($this->validationGroups, ['odiseo_logo_create']);
79
+                    return array_merge($this->validationGroups, [ 'odiseo_logo_create' ]);
80 80
                 }
81 81
 
82 82
                 return $this->validationGroups;
Please login to merge, or discard this patch.