@@ -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 | |
@@ -30,7 +30,7 @@ discard block |
||
| 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 |
||
| 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[] |
@@ -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 | } |
@@ -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 ProductInterface|null $product |
| 30 | 30 | */ |
| 31 | - public function setProduct(?ProductInterface $product): void; |
|
| 31 | + public function setProduct(?ProductInterface $product) : 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 | |
@@ -28,5 +28,5 @@ discard block |
||
| 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 | } |
@@ -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 | |
@@ -35,7 +35,7 @@ discard block |
||
| 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[] |
@@ -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 | } |
@@ -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 $name |
| 30 | 30 | */ |
| 31 | - public function setName(?string $name): void; |
|
| 31 | + public function setName(?string $name) : void; |
|
| 32 | 32 | } |