@@ -28,6 +28,7 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * @param string|null $name |
| 31 | + * @return void |
|
| 31 | 32 | */ |
| 32 | 33 | public function setName(?string $name): void; |
| 33 | 34 | |
@@ -38,6 +39,7 @@ discard block |
||
| 38 | 39 | |
| 39 | 40 | /** |
| 40 | 41 | * @param string|null $description |
| 42 | + * @return void |
|
| 41 | 43 | */ |
| 42 | 44 | public function setDescription(?string $description): void; |
| 43 | 45 | |
@@ -48,6 +50,7 @@ discard block |
||
| 48 | 50 | |
| 49 | 51 | /** |
| 50 | 52 | * @param string|null $metaKeywords |
| 53 | + * @return void |
|
| 51 | 54 | */ |
| 52 | 55 | public function setMetaKeywords(?string $metaKeywords): void; |
| 53 | 56 | |
@@ -58,6 +61,7 @@ discard block |
||
| 58 | 61 | |
| 59 | 62 | /** |
| 60 | 63 | * @param string|null $metaDescription |
| 64 | + * @return void |
|
| 61 | 65 | */ |
| 62 | 66 | public function setMetaDescription(?string $metaDescription): void; |
| 63 | 67 | } |
@@ -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 | |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | /** |
| 30 | 30 | * @param string|null $name |
| 31 | 31 | */ |
| 32 | - public function setName(?string $name): void; |
|
| 32 | + public function setName(?string $name) : void; |
|
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @return string|null |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | /** |
| 40 | 40 | * @param string|null $description |
| 41 | 41 | */ |
| 42 | - public function setDescription(?string $description): void; |
|
| 42 | + public function setDescription(?string $description) : void; |
|
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * @return string|null |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * @param string|null $metaKeywords |
| 51 | 51 | */ |
| 52 | - public function setMetaKeywords(?string $metaKeywords): void; |
|
| 52 | + public function setMetaKeywords(?string $metaKeywords) : void; |
|
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * @return string|null |
@@ -59,5 +59,5 @@ discard block |
||
| 59 | 59 | /** |
| 60 | 60 | * @param string|null $metaDescription |
| 61 | 61 | */ |
| 62 | - public function setMetaDescription(?string $metaDescription): void; |
|
| 62 | + public function setMetaDescription(?string $metaDescription) : void; |
|
| 63 | 63 | } |
@@ -35,6 +35,7 @@ discard block |
||
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * @param string|null $name |
| 38 | + * @return void |
|
| 38 | 39 | */ |
| 39 | 40 | public function setName(?string $name): void; |
| 40 | 41 | |
@@ -50,11 +51,13 @@ discard block |
||
| 50 | 51 | |
| 51 | 52 | /** |
| 52 | 53 | * @param ProductOptionValueInterface $optionValue |
| 54 | + * @return void |
|
| 53 | 55 | */ |
| 54 | 56 | public function addOptionValue(ProductOptionValueInterface $optionValue): void; |
| 55 | 57 | |
| 56 | 58 | /** |
| 57 | 59 | * @param ProductOptionValueInterface $optionValue |
| 60 | + * @return void |
|
| 58 | 61 | */ |
| 59 | 62 | public function removeOptionValue(ProductOptionValueInterface $optionValue): void; |
| 60 | 63 | |
@@ -72,6 +75,7 @@ discard block |
||
| 72 | 75 | |
| 73 | 76 | /** |
| 74 | 77 | * @param ProductInterface|null $product |
| 78 | + * @return void |
|
| 75 | 79 | */ |
| 76 | 80 | public function setProduct(?ProductInterface $product): void; |
| 77 | 81 | |
@@ -82,6 +86,7 @@ discard block |
||
| 82 | 86 | |
| 83 | 87 | /** |
| 84 | 88 | * @param int|null $position |
| 89 | + * @return void |
|
| 85 | 90 | */ |
| 86 | 91 | public function setPosition(?int $position): void; |
| 87 | 92 | } |
@@ -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 | |
@@ -36,7 +36,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |
@@ -29,6 +29,7 @@ |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * @param string|null $name |
| 32 | + * @return void |
|
| 32 | 33 | */ |
| 33 | 34 | public function setName(?string $name): void; |
| 34 | 35 | } |
@@ -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 | |
@@ -28,5 +28,5 @@ discard block |
||
| 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 | } |
@@ -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 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * {@inheritdoc} |
| 51 | 51 | */ |
| 52 | - public function setName(?string $name): void |
|
| 52 | + public function setName(?string $name) : void |
|
| 53 | 53 | { |
| 54 | 54 | $this->name = $name; |
| 55 | 55 | } |
@@ -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 | |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | /** |
| 73 | 73 | * {@inheritdoc} |
| 74 | 74 | */ |
| 75 | - public function setCode(?string $code): void |
|
| 75 | + public function setCode(?string $code) : void |
|
| 76 | 76 | { |
| 77 | 77 | $this->code = $code; |
| 78 | 78 | } |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | /** |
| 89 | 89 | * {@inheritdoc} |
| 90 | 90 | */ |
| 91 | - public function setOption(?ProductOptionInterface $option): void |
|
| 91 | + public function setOption(?ProductOptionInterface $option) : void |
|
| 92 | 92 | { |
| 93 | 93 | $this->option = $option; |
| 94 | 94 | } |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | /** |
| 105 | 105 | * {@inheritdoc} |
| 106 | 106 | */ |
| 107 | - public function setValue(?string $value): void |
|
| 107 | + public function setValue(?string $value) : void |
|
| 108 | 108 | { |
| 109 | 109 | $this->getTranslation()->setValue($value); |
| 110 | 110 | } |
@@ -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 | |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | /** |
| 81 | 81 | * {@inheritdoc} |
| 82 | 82 | */ |
| 83 | - public function setCode(?string $code): void |
|
| 83 | + public function setCode(?string $code) : void |
|
| 84 | 84 | { |
| 85 | 85 | $this->code = $code; |
| 86 | 86 | } |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | /** |
| 97 | 97 | * {@inheritdoc} |
| 98 | 98 | */ |
| 99 | - public function setName(?string $name): void |
|
| 99 | + public function setName(?string $name) : void |
|
| 100 | 100 | { |
| 101 | 101 | $this->getTranslation()->setName($name); |
| 102 | 102 | } |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | /** |
| 159 | 159 | * {@inheritdoc} |
| 160 | 160 | */ |
| 161 | - public function setProduct(?ProductInterface $product): void |
|
| 161 | + public function setProduct(?ProductInterface $product) : void |
|
| 162 | 162 | { |
| 163 | 163 | $this->product = $product; |
| 164 | 164 | } |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | /** |
| 175 | 175 | * {@inheritdoc} |
| 176 | 176 | */ |
| 177 | - public function setPosition(?int $position): void |
|
| 177 | + public function setPosition(?int $position) : void |
|
| 178 | 178 | { |
| 179 | 179 | $this->position = $position; |
| 180 | 180 | } |
@@ -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 | |
@@ -49,7 +49,7 @@ discard block |
||
| 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 | } |
@@ -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 | |
@@ -77,7 +77,7 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -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 | * {@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 | } |