Completed
Push — scalar-types/order ( bd3d7c )
by Kamil
21:55
created
src/Sylius/Component/Product/Model/ProductAssociation.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\Product\Model;
15 15
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * {@inheritdoc}
73 73
      */
74
-    public function setType(?ProductAssociationTypeInterface $type): void
74
+    public function setType(?ProductAssociationTypeInterface $type) : void
75 75
     {
76 76
         $this->type = $type;
77 77
     }
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     /**
88 88
      * {@inheritdoc}
89 89
      */
90
-    public function setOwner(?ProductInterface $owner): void
90
+    public function setOwner(?ProductInterface $owner) : void
91 91
     {
92 92
         $this->owner = $owner;
93 93
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductTranslation.php 1 patch
Spacing   +6 added lines, -6 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\Product\Model;
15 15
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     /**
70 70
      * {@inheritdoc}
71 71
      */
72
-    public function setName(?string $name): void
72
+    public function setName(?string $name) : void
73 73
     {
74 74
         $this->name = $name;
75 75
     }
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     /**
86 86
      * {@inheritdoc}
87 87
      */
88
-    public function setSlug(?string $slug): void
88
+    public function setSlug(?string $slug) : void
89 89
     {
90 90
         $this->slug = $slug;
91 91
     }
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * {@inheritdoc}
103 103
      */
104
-    public function setDescription(?string $description): void
104
+    public function setDescription(?string $description) : void
105 105
     {
106 106
         $this->description = $description;
107 107
     }
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     /**
118 118
      * {@inheritdoc}
119 119
      */
120
-    public function setMetaKeywords(?string $metaKeywords): void
120
+    public function setMetaKeywords(?string $metaKeywords) : void
121 121
     {
122 122
         $this->metaKeywords = $metaKeywords;
123 123
     }
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     /**
134 134
      * {@inheritdoc}
135 135
      */
136
-    public function setMetaDescription(?string $metaDescription): void
136
+    public function setMetaDescription(?string $metaDescription) : void
137 137
     {
138 138
         $this->metaDescription = $metaDescription;
139 139
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOption.php 1 patch
Spacing   +4 added lines, -4 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\Product\Model;
15 15
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     /**
85 85
      * {@inheritdoc}
86 86
      */
87
-    public function setCode(?string $code): void
87
+    public function setCode(?string $code) : void
88 88
     {
89 89
         $this->code = $code;
90 90
     }
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     /**
101 101
      * {@inheritdoc}
102 102
      */
103
-    public function setName(?string $name): void
103
+    public function setName(?string $name) : void
104 104
     {
105 105
         $this->getTranslation()->setName($name);
106 106
     }
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     /**
117 117
      * {@inheritdoc}
118 118
      */
119
-    public function setPosition(?int $position): void
119
+    public function setPosition(?int $position) : void
120 120
     {
121 121
         $this->position = $position;
122 122
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Definition/Field.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\Grid\Definition;
15 15
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     /**
153 153
      * @param string|null $sortable
154 154
      */
155
-    public function setSortable(?string $sortable): void
155
+    public function setSortable(?string $sortable) : void
156 156
     {
157 157
         $this->sortable = $sortable ?: $this->name;
158 158
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Exception/UndefinedGridException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\Grid\Exception;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Grid/Renderer/TwigGridRenderer.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\ResourceBundle\Grid\Renderer;
15 15
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     /**
67 67
      * {@inheritdoc}
68 68
      */
69
-    public function render(GridViewInterface $gridView, ?string $template = null): string
69
+    public function render(GridViewInterface $gridView, ?string $template = null) : string
70 70
     {
71 71
         return (string) $this->gridRenderer->render($gridView, $template);
72 72
     }
Please login to merge, or discard this patch.
Sylius/Bundle/ProductBundle/DependencyInjection/SyliusProductExtension.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\ProductBundle\DependencyInjection;
15 15
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     public function load(array $config, ContainerBuilder $container): void
41 41
     {
42 42
         $config = $this->processConfiguration($this->getConfiguration([], $container), $config);
43
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
43
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
44 44
 
45 45
         $loader->load(sprintf('services/integrations/%s.xml', $config['driver']));
46 46
 
Please login to merge, or discard this patch.
Form/DataTransformer/ProductsToProductAssociationsTransformer.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\ProductBundle\Form\DataTransformer;
15 15
 
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     /**
178 178
      * @param Collection|null $productAssociations
179 179
      */
180
-    private function setProductAssociations(?Collection $productAssociations): void
180
+    private function setProductAssociations(?Collection $productAssociations) : void
181 181
     {
182 182
         $this->productAssociations = $productAssociations;
183 183
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/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.