@@ -9,7 +9,7 @@ |
||
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\CoreBundle\Application; |
15 | 15 |
@@ -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 | } |
@@ -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 | |
@@ -33,12 +33,12 @@ discard block |
||
33 | 33 | /** |
34 | 34 | * @param string|null $name |
35 | 35 | */ |
36 | - public function setName(?string $name): void; |
|
36 | + public function setName(?string $name) : void; |
|
37 | 37 | |
38 | 38 | /** |
39 | 39 | * @param string|null $locale |
40 | 40 | * |
41 | 41 | * @return ProductAssociationTypeTranslationInterface |
42 | 42 | */ |
43 | - public function getTranslation(?string $locale = null): TranslationInterface; |
|
43 | + public function getTranslation(?string $locale = null) : TranslationInterface; |
|
44 | 44 | } |