Completed
Push — scalar-types/order ( bd3d7c )
by Kamil
21:55
created
src/Sylius/Component/Product/Model/ProductAssociationInterface.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
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * @param ProductAssociationTypeInterface|null $type
32 32
      */
33
-    public function setType(?ProductAssociationTypeInterface $type): void;
33
+    public function setType(?ProductAssociationTypeInterface $type) : void;
34 34
 
35 35
     /**
36 36
      * @return ProductInterface|null
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * @param ProductInterface|null $owner
42 42
      */
43
-    public function setOwner(?ProductInterface $owner): void;
43
+    public function setOwner(?ProductInterface $owner) : void;
44 44
 
45 45
     /**
46 46
      * @return Collection|ProductInterface[]
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductVariantInterface.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
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * @param string|null $name
38 38
      */
39
-    public function setName(?string $name): void;
39
+    public function setName(?string $name) : void;
40 40
 
41 41
     /**
42 42
      * @return string
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * @param ProductInterface|null $product
75 75
      */
76
-    public function setProduct(?ProductInterface $product): void;
76
+    public function setProduct(?ProductInterface $product) : void;
77 77
 
78 78
     /**
79 79
      * @return int|null
@@ -83,5 +83,5 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * @param int|null $position
85 85
      */
86
-    public function setPosition(?int $position): void;
86
+    public function setPosition(?int $position) : void;
87 87
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductAttributeValueInterface.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\Product\Model;
15 15
 
@@ -28,5 +28,5 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * @param ProductInterface|null $product
30 30
      */
31
-    public function setProduct(?ProductInterface $product): void;
31
+    public function setProduct(?ProductInterface $product) : void;
32 32
 }
Please login to merge, or discard this patch.
Sylius/Component/Product/Model/ProductOptionValueTranslationInterface.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\Product\Model;
15 15
 
@@ -28,5 +28,5 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * @param string|null $value
30 30
      */
31
-    public function setValue(?string $value): void;
31
+    public function setValue(?string $value) : void;
32 32
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOptionValueTranslation.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\Product\Model;
15 15
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * {@inheritdoc}
51 51
      */
52
-    public function setValue(?string $value): void
52
+    public function setValue(?string $value) : void
53 53
     {
54 54
         $this->value = $value;
55 55
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductAssociationType.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
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     /**
78 78
      * {@inheritdoc}
79 79
      */
80
-    public function setCode(?string $code): void
80
+    public function setCode(?string $code) : void
81 81
     {
82 82
         $this->code = $code;
83 83
     }
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * {@inheritdoc}
95 95
      */
96
-    public function setName(?string $name): void
96
+    public function setName(?string $name) : void
97 97
     {
98 98
         $this->getTranslation()->setName($name);
99 99
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOptionInterface.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\Product\Model;
15 15
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * @param int $position
37 37
      */
38
-    public function setPosition(?int $position): void;
38
+    public function setPosition(?int $position) : void;
39 39
 
40 40
     /**
41 41
      * @return Collection|ProductOptionValueInterface[]
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductAttributeValue.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\Product\Model;
15 15
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * {@inheritdoc}
33 33
      */
34
-    public function setProduct(?ProductInterface $product): void
34
+    public function setProduct(?ProductInterface $product) : void
35 35
     {
36 36
         parent::setSubject($product);
37 37
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOptionTranslationInterface.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\Product\Model;
15 15
 
@@ -28,5 +28,5 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * @param string $name
30 30
      */
31
-    public function setName(?string $name): void;
31
+    public function setName(?string $name) : void;
32 32
 }
Please login to merge, or discard this patch.