@@ -42,6 +42,7 @@ discard block |
||
42 | 42 | |
43 | 43 | /** |
44 | 44 | * @param string|null $name |
45 | + * @return void |
|
45 | 46 | */ |
46 | 47 | public function setName(?string $name): void; |
47 | 48 | |
@@ -52,6 +53,7 @@ discard block |
||
52 | 53 | |
53 | 54 | /** |
54 | 55 | * @param string|null $description |
56 | + * @return void |
|
55 | 57 | */ |
56 | 58 | public function setDescription(?string $description): void; |
57 | 59 | |
@@ -62,6 +64,7 @@ discard block |
||
62 | 64 | |
63 | 65 | /** |
64 | 66 | * @param string|null $metaKeywords |
67 | + * @return void |
|
65 | 68 | */ |
66 | 69 | public function setMetaKeywords(?string $metaKeywords): void; |
67 | 70 | |
@@ -72,6 +75,7 @@ discard block |
||
72 | 75 | |
73 | 76 | /** |
74 | 77 | * @param string|null $metaDescription |
78 | + * @return void |
|
75 | 79 | */ |
76 | 80 | public function setMetaDescription(?string $metaDescription): void; |
77 | 81 | |
@@ -87,11 +91,13 @@ discard block |
||
87 | 91 | |
88 | 92 | /** |
89 | 93 | * @param ProductVariantInterface $variant |
94 | + * @return void |
|
90 | 95 | */ |
91 | 96 | public function addVariant(ProductVariantInterface $variant): void; |
92 | 97 | |
93 | 98 | /** |
94 | 99 | * @param ProductVariantInterface $variant |
100 | + * @return void |
|
95 | 101 | */ |
96 | 102 | public function removeVariant(ProductVariantInterface $variant): void; |
97 | 103 | |
@@ -114,11 +120,13 @@ discard block |
||
114 | 120 | |
115 | 121 | /** |
116 | 122 | * @param ProductOptionInterface $option |
123 | + * @return void |
|
117 | 124 | */ |
118 | 125 | public function addOption(ProductOptionInterface $option): void; |
119 | 126 | |
120 | 127 | /** |
121 | 128 | * @param ProductOptionInterface $option |
129 | + * @return void |
|
122 | 130 | */ |
123 | 131 | public function removeOption(ProductOptionInterface $option): void; |
124 | 132 | |
@@ -136,11 +144,13 @@ discard block |
||
136 | 144 | |
137 | 145 | /** |
138 | 146 | * @param ProductAssociationInterface $association |
147 | + * @return void |
|
139 | 148 | */ |
140 | 149 | public function addAssociation(ProductAssociationInterface $association): void; |
141 | 150 | |
142 | 151 | /** |
143 | 152 | * @param ProductAssociationInterface $association |
153 | + * @return void |
|
144 | 154 | */ |
145 | 155 | public function removeAssociation(ProductAssociationInterface $association): void; |
146 | 156 |
@@ -9,7 +9,7 @@ discard block |
||
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 | |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | /** |
45 | 45 | * @param string|null $name |
46 | 46 | */ |
47 | - public function setName(?string $name): void; |
|
47 | + public function setName(?string $name) : void; |
|
48 | 48 | |
49 | 49 | /** |
50 | 50 | * @return string|null |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | /** |
55 | 55 | * @param string|null $description |
56 | 56 | */ |
57 | - public function setDescription(?string $description): void; |
|
57 | + public function setDescription(?string $description) : void; |
|
58 | 58 | |
59 | 59 | /** |
60 | 60 | * @return string|null |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | /** |
65 | 65 | * @param string|null $metaKeywords |
66 | 66 | */ |
67 | - public function setMetaKeywords(?string $metaKeywords): void; |
|
67 | + public function setMetaKeywords(?string $metaKeywords) : void; |
|
68 | 68 | |
69 | 69 | /** |
70 | 70 | * @return string|null |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | /** |
75 | 75 | * @param string|null $metaDescription |
76 | 76 | */ |
77 | - public function setMetaDescription(?string $metaDescription): void; |
|
77 | + public function setMetaDescription(?string $metaDescription) : void; |
|
78 | 78 | |
79 | 79 | /** |
80 | 80 | * @return bool |
@@ -160,5 +160,5 @@ discard block |
||
160 | 160 | * |
161 | 161 | * @return ProductTranslationInterface |
162 | 162 | */ |
163 | - public function getTranslation(?string $locale = null): TranslationInterface; |
|
163 | + public function getTranslation(?string $locale = null) : TranslationInterface; |
|
164 | 164 | } |
@@ -29,6 +29,7 @@ discard block |
||
29 | 29 | |
30 | 30 | /** |
31 | 31 | * @param ProductOptionInterface $option |
32 | + * @return void |
|
32 | 33 | */ |
33 | 34 | public function setOption(?ProductOptionInterface $option): void; |
34 | 35 | |
@@ -39,6 +40,7 @@ discard block |
||
39 | 40 | |
40 | 41 | /** |
41 | 42 | * @param string|null $value |
43 | + * @return void |
|
42 | 44 | */ |
43 | 45 | public function setValue(?string $value): void; |
44 | 46 |
@@ -9,7 +9,7 @@ discard block |
||
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 |
||
31 | 31 | /** |
32 | 32 | * @param ProductOptionInterface $option |
33 | 33 | */ |
34 | - public function setOption(?ProductOptionInterface $option): void; |
|
34 | + public function setOption(?ProductOptionInterface $option) : void; |
|
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @return string|null |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * @param string|null $value |
43 | 43 | */ |
44 | - public function setValue(?string $value): void; |
|
44 | + public function setValue(?string $value) : void; |
|
45 | 45 | |
46 | 46 | /** |
47 | 47 | * @return string|null |
@@ -58,5 +58,5 @@ discard block |
||
58 | 58 | * |
59 | 59 | * @return ProductOptionValueTranslationInterface |
60 | 60 | */ |
61 | - public function getTranslation(?string $locale = null): TranslationInterface; |
|
61 | + public function getTranslation(?string $locale = null) : TranslationInterface; |
|
62 | 62 | } |
@@ -50,6 +50,7 @@ discard block |
||
50 | 50 | * @param string|null $variantSelectionMethod |
51 | 51 | * |
52 | 52 | * @throws \InvalidArgumentException |
53 | + * @return void |
|
53 | 54 | */ |
54 | 55 | public function setVariantSelectionMethod(?string $variantSelectionMethod): void; |
55 | 56 | |
@@ -70,6 +71,7 @@ discard block |
||
70 | 71 | |
71 | 72 | /** |
72 | 73 | * @param string|null $shortDescription |
74 | + * @return void |
|
73 | 75 | */ |
74 | 76 | public function setShortDescription(?string $shortDescription): void; |
75 | 77 | |
@@ -80,6 +82,7 @@ discard block |
||
80 | 82 | |
81 | 83 | /** |
82 | 84 | * @param TaxonInterface|null $mainTaxon |
85 | + * @return void |
|
83 | 86 | */ |
84 | 87 | public function setMainTaxon(?TaxonInterface $mainTaxon): void; |
85 | 88 |
@@ -17,8 +17,8 @@ |
||
17 | 17 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
18 | 18 | use Sylius\Component\Product\Model\ProductInterface as BaseProductInterface; |
19 | 19 | use Sylius\Component\Resource\Model\TranslationInterface; |
20 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
21 | 20 | use Sylius\Component\Review\Model\ReviewInterface; |
21 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
22 | 22 | |
23 | 23 | /** |
24 | 24 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -9,7 +9,7 @@ discard block |
||
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 |
||
52 | 52 | * |
53 | 53 | * @throws \InvalidArgumentException |
54 | 54 | */ |
55 | - public function setVariantSelectionMethod(?string $variantSelectionMethod): void; |
|
55 | + public function setVariantSelectionMethod(?string $variantSelectionMethod) : void; |
|
56 | 56 | |
57 | 57 | /** |
58 | 58 | * @return bool |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | /** |
73 | 73 | * @param string|null $shortDescription |
74 | 74 | */ |
75 | - public function setShortDescription(?string $shortDescription): void; |
|
75 | + public function setShortDescription(?string $shortDescription) : void; |
|
76 | 76 | |
77 | 77 | /** |
78 | 78 | * @return TaxonInterface|null |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | /** |
83 | 83 | * @param TaxonInterface|null $mainTaxon |
84 | 84 | */ |
85 | - public function setMainTaxon(?TaxonInterface $mainTaxon): void; |
|
85 | + public function setMainTaxon(?TaxonInterface $mainTaxon) : void; |
|
86 | 86 | |
87 | 87 | /** |
88 | 88 | * @return Collection|ReviewInterface[] |
@@ -94,5 +94,5 @@ discard block |
||
94 | 94 | * |
95 | 95 | * @return ProductTranslationInterface |
96 | 96 | */ |
97 | - public function getTranslation(?string $locale = null): TranslationInterface; |
|
97 | + public function getTranslation(?string $locale = null) : TranslationInterface; |
|
98 | 98 | } |
@@ -9,7 +9,7 @@ discard block |
||
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 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * @param AddressInterface|null $defaultAddress |
37 | 37 | */ |
38 | - public function setDefaultAddress(?AddressInterface $defaultAddress): void; |
|
38 | + public function setDefaultAddress(?AddressInterface $defaultAddress) : void; |
|
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @param AddressInterface $address |
@@ -35,16 +35,19 @@ discard block |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param AddressInterface|null $defaultAddress |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function setDefaultAddress(?AddressInterface $defaultAddress): void; |
40 | 41 | |
41 | 42 | /** |
42 | 43 | * @param AddressInterface $address |
44 | + * @return void |
|
43 | 45 | */ |
44 | 46 | public function addAddress(AddressInterface $address): void; |
45 | 47 | |
46 | 48 | /** |
47 | 49 | * @param AddressInterface $address |
50 | + * @return void |
|
48 | 51 | */ |
49 | 52 | public function removeAddress(AddressInterface $address): void; |
50 | 53 | |
@@ -72,6 +75,7 @@ discard block |
||
72 | 75 | |
73 | 76 | /** |
74 | 77 | * @param ShopUserInterface|UserInterface|null $user |
78 | + * @return void |
|
75 | 79 | */ |
76 | 80 | public function setUser(?UserInterface $user); |
77 | 81 | } |
@@ -35,6 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param string $name |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function setName(?string $name): void; |
40 | 41 | |
@@ -45,6 +46,7 @@ discard block |
||
45 | 46 | |
46 | 47 | /** |
47 | 48 | * @param int $position |
49 | + * @return void |
|
48 | 50 | */ |
49 | 51 | public function setPosition(?int $position): void; |
50 | 52 | |
@@ -55,11 +57,13 @@ discard block |
||
55 | 57 | |
56 | 58 | /** |
57 | 59 | * @param ProductOptionValueInterface $optionValue |
60 | + * @return void |
|
58 | 61 | */ |
59 | 62 | public function addValue(ProductOptionValueInterface $optionValue): void; |
60 | 63 | |
61 | 64 | /** |
62 | 65 | * @param ProductOptionValueInterface $optionValue |
66 | + * @return void |
|
63 | 67 | */ |
64 | 68 | public function removeValue(ProductOptionValueInterface $optionValue): void; |
65 | 69 |
@@ -9,7 +9,7 @@ discard block |
||
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 | |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | /** |
38 | 38 | * @param string $name |
39 | 39 | */ |
40 | - public function setName(?string $name): void; |
|
40 | + public function setName(?string $name) : void; |
|
41 | 41 | |
42 | 42 | /** |
43 | 43 | * @return int |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | /** |
48 | 48 | * @param int $position |
49 | 49 | */ |
50 | - public function setPosition(?int $position): void; |
|
50 | + public function setPosition(?int $position) : void; |
|
51 | 51 | |
52 | 52 | /** |
53 | 53 | * @return Collection|ProductOptionValueInterface[] |
@@ -76,5 +76,5 @@ discard block |
||
76 | 76 | * |
77 | 77 | * @return ProductOptionTranslationInterface |
78 | 78 | */ |
79 | - public function getTranslation(?string $locale = null): TranslationInterface; |
|
79 | + public function getTranslation(?string $locale = null) : TranslationInterface; |
|
80 | 80 | } |
@@ -37,6 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | /** |
39 | 39 | * @param string|null $name |
40 | + * @return void |
|
40 | 41 | */ |
41 | 42 | public function setName(?string $name): void; |
42 | 43 | |
@@ -47,6 +48,7 @@ discard block |
||
47 | 48 | |
48 | 49 | /** |
49 | 50 | * @param string|null $type |
51 | + * @return void |
|
50 | 52 | */ |
51 | 53 | public function setType(?string $type): void; |
52 | 54 | |
@@ -57,6 +59,7 @@ discard block |
||
57 | 59 | |
58 | 60 | /** |
59 | 61 | * @param array $configuration |
62 | + * @return void |
|
60 | 63 | */ |
61 | 64 | public function setConfiguration(array $configuration): void; |
62 | 65 | |
@@ -67,6 +70,7 @@ discard block |
||
67 | 70 | |
68 | 71 | /** |
69 | 72 | * @param string $storageType |
73 | + * @return void |
|
70 | 74 | */ |
71 | 75 | public function setStorageType(string $storageType): void; |
72 | 76 | |
@@ -77,6 +81,7 @@ discard block |
||
77 | 81 | |
78 | 82 | /** |
79 | 83 | * @param int|null $position |
84 | + * @return void |
|
80 | 85 | */ |
81 | 86 | public function setPosition(?int $position): void; |
82 | 87 |
@@ -9,7 +9,7 @@ discard block |
||
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\Attribute\Model; |
15 | 15 | |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | /** |
39 | 39 | * @param string|null $name |
40 | 40 | */ |
41 | - public function setName(?string $name): void; |
|
41 | + public function setName(?string $name) : void; |
|
42 | 42 | |
43 | 43 | /** |
44 | 44 | * @return string|null |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * @param string|null $type |
50 | 50 | */ |
51 | - public function setType(?string $type): void; |
|
51 | + public function setType(?string $type) : void; |
|
52 | 52 | |
53 | 53 | /** |
54 | 54 | * @return array |
@@ -78,12 +78,12 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * @param int|null $position |
80 | 80 | */ |
81 | - public function setPosition(?int $position): void; |
|
81 | + public function setPosition(?int $position) : void; |
|
82 | 82 | |
83 | 83 | /** |
84 | 84 | * @param string|null $locale |
85 | 85 | * |
86 | 86 | * @return AttributeTranslationInterface |
87 | 87 | */ |
88 | - public function getTranslation(?string $locale = null): TranslationInterface; |
|
88 | + public function getTranslation(?string $locale = null) : TranslationInterface; |
|
89 | 89 | } |
@@ -32,31 +32,37 @@ discard block |
||
32 | 32 | { |
33 | 33 | /** |
34 | 34 | * {@inheritdoc} |
35 | + * @return string|null |
|
35 | 36 | */ |
36 | 37 | public function getName(): ?string; |
37 | 38 | |
38 | 39 | /** |
39 | 40 | * {@inheritdoc} |
41 | + * @return void |
|
40 | 42 | */ |
41 | 43 | public function setName(?string $name): void; |
42 | 44 | |
43 | 45 | /** |
44 | 46 | * {@inheritdoc} |
47 | + * @return string|null |
|
45 | 48 | */ |
46 | 49 | public function getDescription(): ?string; |
47 | 50 | |
48 | 51 | /** |
49 | 52 | * {@inheritdoc} |
53 | + * @return void |
|
50 | 54 | */ |
51 | 55 | public function setDescription(?string $description): void; |
52 | 56 | |
53 | 57 | /** |
54 | 58 | * {@inheritdoc} |
59 | + * @return string|null |
|
55 | 60 | */ |
56 | 61 | public function getInstructions(): ?string; |
57 | 62 | |
58 | 63 | /** |
59 | 64 | * {@inheritdoc} |
65 | + * @return void |
|
60 | 66 | */ |
61 | 67 | public function setInstructions(?string $instructions): void; |
62 | 68 | |
@@ -67,6 +73,7 @@ discard block |
||
67 | 73 | |
68 | 74 | /** |
69 | 75 | * @param string|null $environment |
76 | + * @return void |
|
70 | 77 | */ |
71 | 78 | public function setEnvironment(?string $environment): void; |
72 | 79 | |
@@ -77,6 +84,7 @@ discard block |
||
77 | 84 | |
78 | 85 | /** |
79 | 86 | * @param int|null $position |
87 | + * @return void |
|
80 | 88 | */ |
81 | 89 | public function setPosition(?int $position): void; |
82 | 90 |
@@ -9,7 +9,7 @@ discard block |
||
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\Payment\Model; |
15 | 15 | |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | /** |
39 | 39 | * {@inheritdoc} |
40 | 40 | */ |
41 | - public function setName(?string $name): void; |
|
41 | + public function setName(?string $name) : void; |
|
42 | 42 | |
43 | 43 | /** |
44 | 44 | * {@inheritdoc} |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * {@inheritdoc} |
50 | 50 | */ |
51 | - public function setDescription(?string $description): void; |
|
51 | + public function setDescription(?string $description) : void; |
|
52 | 52 | |
53 | 53 | /** |
54 | 54 | * {@inheritdoc} |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | /** |
59 | 59 | * {@inheritdoc} |
60 | 60 | */ |
61 | - public function setInstructions(?string $instructions): void; |
|
61 | + public function setInstructions(?string $instructions) : void; |
|
62 | 62 | |
63 | 63 | /** |
64 | 64 | * @return string|null |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | /** |
69 | 69 | * @param string|null $environment |
70 | 70 | */ |
71 | - public function setEnvironment(?string $environment): void; |
|
71 | + public function setEnvironment(?string $environment) : void; |
|
72 | 72 | |
73 | 73 | /** |
74 | 74 | * @return int|null |
@@ -78,12 +78,12 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * @param int|null $position |
80 | 80 | */ |
81 | - public function setPosition(?int $position): void; |
|
81 | + public function setPosition(?int $position) : void; |
|
82 | 82 | |
83 | 83 | /** |
84 | 84 | * @param string|null $locale |
85 | 85 | * |
86 | 86 | * @return PaymentMethodTranslationInterface |
87 | 87 | */ |
88 | - public function getTranslation(?string $locale = null): TranslationInterface; |
|
88 | + public function getTranslation(?string $locale = null) : TranslationInterface; |
|
89 | 89 | } |
@@ -36,6 +36,7 @@ |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @param string|null $name |
39 | + * @return void |
|
39 | 40 | */ |
40 | 41 | public function setName(?string $name): void; |
41 | 42 |
@@ -9,7 +9,7 @@ discard block |
||
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 | |
@@ -37,12 +37,12 @@ discard block |
||
37 | 37 | /** |
38 | 38 | * @param string|null $name |
39 | 39 | */ |
40 | - public function setName(?string $name): void; |
|
40 | + public function setName(?string $name) : void; |
|
41 | 41 | |
42 | 42 | /** |
43 | 43 | * @param null|string $locale |
44 | 44 | * |
45 | 45 | * @return ProductAssociationTypeTranslationInterface |
46 | 46 | */ |
47 | - public function getTranslation(?string $locale = null): TranslationInterface; |
|
47 | + public function getTranslation(?string $locale = null) : TranslationInterface; |
|
48 | 48 | } |
@@ -36,6 +36,7 @@ discard block |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @param string|null $name |
39 | + * @return void |
|
39 | 40 | */ |
40 | 41 | public function setName(?string $name): void; |
41 | 42 | |
@@ -51,11 +52,13 @@ discard block |
||
51 | 52 | |
52 | 53 | /** |
53 | 54 | * @param ProductOptionValueInterface $optionValue |
55 | + * @return void |
|
54 | 56 | */ |
55 | 57 | public function addOptionValue(ProductOptionValueInterface $optionValue): void; |
56 | 58 | |
57 | 59 | /** |
58 | 60 | * @param ProductOptionValueInterface $optionValue |
61 | + * @return void |
|
59 | 62 | */ |
60 | 63 | public function removeOptionValue(ProductOptionValueInterface $optionValue): void; |
61 | 64 | |
@@ -73,6 +76,7 @@ discard block |
||
73 | 76 | |
74 | 77 | /** |
75 | 78 | * @param ProductInterface|null $product |
79 | + * @return void |
|
76 | 80 | */ |
77 | 81 | public function setProduct(?ProductInterface $product): void; |
78 | 82 | |
@@ -83,6 +87,7 @@ discard block |
||
83 | 87 | |
84 | 88 | /** |
85 | 89 | * @param int|null $position |
90 | + * @return void |
|
86 | 91 | */ |
87 | 92 | public function setPosition(?int $position): void; |
88 | 93 |
@@ -9,7 +9,7 @@ discard block |
||
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 | |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | /** |
38 | 38 | * @param string|null $name |
39 | 39 | */ |
40 | - public function setName(?string $name): void; |
|
40 | + public function setName(?string $name) : void; |
|
41 | 41 | |
42 | 42 | /** |
43 | 43 | * @return string |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | /** |
75 | 75 | * @param ProductInterface|null $product |
76 | 76 | */ |
77 | - public function setProduct(?ProductInterface $product): void; |
|
77 | + public function setProduct(?ProductInterface $product) : void; |
|
78 | 78 | |
79 | 79 | /** |
80 | 80 | * @return int|null |
@@ -84,12 +84,12 @@ discard block |
||
84 | 84 | /** |
85 | 85 | * @param int|null $position |
86 | 86 | */ |
87 | - public function setPosition(?int $position): void; |
|
87 | + public function setPosition(?int $position) : void; |
|
88 | 88 | |
89 | 89 | /** |
90 | 90 | * @param string|null $locale |
91 | 91 | * |
92 | 92 | * @return ProductVariantTranslationInterface |
93 | 93 | */ |
94 | - public function getTranslation(?string $locale = null): TranslationInterface; |
|
94 | + public function getTranslation(?string $locale = null) : TranslationInterface; |
|
95 | 95 | } |