Completed
Push — scalar-types/theme ( 71f30c )
by Kamil
21:15
created
src/Sylius/Component/Core/Model/OrderItemUnit.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\Component\Core\Model;
15 15
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     /**
53 53
      * {@inheritdoc}
54 54
      */
55
-    public function setShipment(?BaseShipmentInterface $shipment): void
55
+    public function setShipment(?BaseShipmentInterface $shipment) : void
56 56
     {
57 57
         $this->shipment = $shipment;
58 58
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Inventory/Model/StockableInterface.php 1 patch
Spacing   +3 added lines, -3 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\Component\Inventory\Model;
15 15
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * @param int|null $onHold
38 38
      */
39
-    public function setOnHold(?int $onHold): void;
39
+    public function setOnHold(?int $onHold) : void;
40 40
 
41 41
     /**
42 42
      * @return int|null
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * @param int|null $onHand
48 48
      */
49
-    public function setOnHand(?int $onHand): void;
49
+    public function setOnHand(?int $onHand) : void;
50 50
 
51 51
     /**
52 52
      * @return bool
Please login to merge, or discard this patch.
Bundle/ShippingBundle/DependencyInjection/SyliusShippingExtension.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\ShippingBundle\DependencyInjection;
15 15
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function load(array $config, ContainerBuilder $container): void
31 31
     {
32 32
         $config = $this->processConfiguration($this->getConfiguration([], $container), $config);
33
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
33
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
34 34
 
35 35
         $loader->load(sprintf('services/integrations/%s.xml', $config['driver']));
36 36
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShippingBundle/test/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     public function registerContainerConfiguration(LoaderInterface $loader): void
45 45
     {
46
-        $loader->load(__DIR__.'/config/config.yml');
46
+        $loader->load(__DIR__ . '/config/config.yml');
47 47
     }
48 48
 
49 49
     /**
Please login to merge, or discard this patch.
Bundle/InventoryBundle/DependencyInjection/SyliusInventoryExtension.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\InventoryBundle\DependencyInjection;
15 15
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function load(array $config, ContainerBuilder $container): void
31 31
     {
32 32
         $config = $this->processConfiguration($this->getConfiguration([], $container), $config);
33
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
33
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
34 34
 
35 35
         $this->registerResources('sylius', $config['driver'], $config['resources'], $container);
36 36
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/InventoryBundle/test/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     public function registerContainerConfiguration(LoaderInterface $loader): void
45 45
     {
46
-        $loader->load(__DIR__.'/config/config.yml');
46
+        $loader->load(__DIR__ . '/config/config.yml');
47 47
     }
48 48
 
49 49
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShippingCategoryInterface.php 1 patch
Spacing   +3 added lines, -3 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\Component\Shipping\Model;
15 15
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * @param string|null $name
30 30
      */
31
-    public function setName(?string $name): void;
31
+    public function setName(?string $name) : void;
32 32
 
33 33
     /**
34 34
      * @return string|null
@@ -38,5 +38,5 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * @param string|null $description
40 40
      */
41
-    public function setDescription(?string $description): void;
41
+    public function setDescription(?string $description) : void;
42 42
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Collector/ThemeCollector.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\ThemeBundle\Collector;
15 15
 
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     /**
90 90
      * {@inheritdoc}
91 91
      */
92
-    public function collect(Request $request, Response $response, ?\Exception $exception = null): void
92
+    public function collect(Request $request, Response $response, ?\Exception $exception = null) : void
93 93
     {
94 94
         $this->data['used_theme'] = $this->themeContext->getTheme();
95 95
         $this->data['used_themes'] = $this->themeHierarchyProvider->getThemeHierarchy($this->themeContext->getTheme());
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Translation/ThemeAwareTranslator.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\ThemeBundle\Translation;
15 15
 
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      *
122 122
      * @return string|null
123 123
      */
124
-    private function transformLocale(?string $locale): ?string
124
+    private function transformLocale(?string $locale) : ?string
125 125
     {
126 126
         $theme = $this->themeContext->getTheme();
127 127
 
Please login to merge, or discard this patch.