Completed
Push — 1.0-narrow-typehints ( 369cb6 )
by Kamil
24:19
created
src/Sylius/Component/Core/Model/Product.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.