Completed
Push — scalar-types/theme ( 924afa...015c58 )
by Kamil
24:18
created
src/Sylius/Bundle/ShopBundle/EmailManager/ContactEmailManagerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * @param array $data
23 23
      * @param array $recipients
24
+     * @return void
24 25
      */
25 26
     public function sendContactRequest(array $data, array $recipients): void;
26 27
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShopBundle/EmailManager/OrderEmailManagerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param OrderInterface $order
25
+     * @return void
25 26
      */
26 27
     public function sendConfirmationEmail(OrderInterface $order): void;
27 28
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShopBundle/DependencyInjection/SyliusShopExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ShopBundle\DependencyInjection;
15 15
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     public function load(array $config, ContainerBuilder $container): void
36 36
     {
37 37
         $config = $this->processConfiguration($this->getConfiguration([], $container), $config);
38
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
38
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
39 39
 
40 40
         $loader->load('services.xml');
41 41
         $loader->load(sprintf('services/integrations/locale/%s.xml', $config['locale_switcher']));
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShopBundle/Controller/ContactController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ShopBundle\Controller;
15 15
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      *
136 136
      * @return string|null
137 137
      */
138
-    private function getSyliusAttribute(Request $request, string $attributeName, ?string $default): ?string
138
+    private function getSyliusAttribute(Request $request, string $attributeName, ?string $default) : ?string
139 139
     {
140 140
         $attributes = $request->attributes->get('_sylius');
141 141
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShopBundle/Controller/LocaleSwitchController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ShopBundle\Controller;
15 15
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      *
83 83
      * @return Response
84 84
      */
85
-    public function switchAction(Request $request, ?string $code = null): Response
85
+    public function switchAction(Request $request, ?string $code = null) : Response
86 86
     {
87 87
         if (null === $code) {
88 88
             $code = $this->localeProvider->getDefaultLocaleCode();
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShopBundle/EventListener/NonChannelLocaleListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ShopBundle\EventListener;
15 15
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      *
89 89
      * @return bool
90 90
      */
91
-    private function isFirewallSupported(?FirewallConfig $firewall = null): bool
91
+    private function isFirewallSupported(?FirewallConfig $firewall = null) : bool
92 92
     {
93 93
         return
94 94
             null !== $firewall &&
Please login to merge, or discard this patch.