@@ -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 | |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | /** |
87 | 87 | * {@inheritdoc} |
88 | 88 | */ |
89 | - public function setVariantSelectionMethod(?string $variantSelectionMethod): void |
|
89 | + public function setVariantSelectionMethod(?string $variantSelectionMethod) : void |
|
90 | 90 | { |
91 | 91 | Assert::oneOf( |
92 | 92 | $variantSelectionMethod, |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | /** |
218 | 218 | * {@inheritdoc} |
219 | 219 | */ |
220 | - public function setShortDescription(?string $shortDescription): void |
|
220 | + public function setShortDescription(?string $shortDescription) : void |
|
221 | 221 | { |
222 | 222 | $this->getTranslation()->setShortDescription($shortDescription); |
223 | 223 | } |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | /** |
234 | 234 | * {@inheritdoc} |
235 | 235 | */ |
236 | - public function setMainTaxon(?TaxonInterface $mainTaxon): void |
|
236 | + public function setMainTaxon(?TaxonInterface $mainTaxon) : void |
|
237 | 237 | { |
238 | 238 | $this->mainTaxon = $mainTaxon; |
239 | 239 | } |
@@ -358,7 +358,7 @@ discard block |
||
358 | 358 | * |
359 | 359 | * @return ProductTranslationInterface |
360 | 360 | */ |
361 | - public function getTranslation(?string $locale = null): TranslationInterface |
|
361 | + public function getTranslation(?string $locale = null) : TranslationInterface |
|
362 | 362 | { |
363 | 363 | return parent::getTranslation($locale); |
364 | 364 | } |