Completed
Push — 1.2-symfony4-packages ( 39ce77...14945a )
by Kamil
18:11
created
src/Sylius/Component/Resource/Model/TranslationInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param TranslatableInterface|null $translatable
28
+     * @return void
28 29
      */
29 30
     public function setTranslatable(?TranslatableInterface $translatable): void;
30 31
 
@@ -35,6 +36,7 @@  discard block
 block discarded – undo
35 36
 
36 37
     /**
37 38
      * @param string|null $locale
39
+     * @return void
38 40
      */
39 41
     public function setLocale(?string $locale): void;
40 42
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/VersionedInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param int|null $version
28
+     * @return void
28 29
      */
29 30
     public function setVersion(?int $version): void;
30 31
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Storage/StorageInterface.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,12 +35,14 @@
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param string $name
38
-     * @param mixed $value
38
+     * @param string $value
39
+     * @return void
39 40
      */
40 41
     public function set(string $name, $value): void;
41 42
 
42 43
     /**
43 44
      * @param string $name
45
+     * @return void
44 46
      */
45 47
     public function remove(string $name): void;
46 48
 
Please login to merge, or discard this patch.
Resource/Translation/TranslatableEntityLocaleAssignerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param TranslatableInterface $translatableEntity
25
+     * @return void
25 26
      */
26 27
     public function assignLocale(TranslatableInterface $translatableEntity): void;
27 28
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Validator/EnabledValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @param mixed $value
45
+     * @param ToggleableInterface $value
46 46
      */
47 47
     private function ensureValueImplementsToggleableInterface($value): void
48 48
     {
Please login to merge, or discard this patch.
Core/Promotion/Applicator/UnitsPromotionAdjustmentsApplicatorInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
      * @param OrderInterface $order
26 26
      * @param PromotionInterface $promotion
27 27
      * @param array|int[] $adjustmentsAmounts
28
+     * @return void
28 29
      */
29 30
     public function apply(OrderInterface $order, PromotionInterface $promotion, array $adjustmentsAmounts): void;
30 31
 }
Please login to merge, or discard this patch.
Component/Core/Promotion/Modifier/OrderPromotionsUsageModifierInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -22,11 +22,13 @@
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param OrderInterface $order
25
+     * @return void
25 26
      */
26 27
     public function increment(OrderInterface $order): void;
27 28
 
28 29
     /**
29 30
      * @param OrderInterface $order
31
+     * @return void
30 32
      */
31 33
     public function decrement(OrderInterface $order): void;
32 34
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Action/PromotionActionCommandInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -34,6 +34,7 @@
 block discarded – undo
34 34
      * @param PromotionSubjectInterface $subject
35 35
      * @param array $configuration
36 36
      * @param PromotionInterface $promotion
37
+     * @return void
37 38
      */
38 39
     public function revert(PromotionSubjectInterface $subject, array $configuration, PromotionInterface $promotion): void;
39 40
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Action/PromotionApplicatorInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -24,12 +24,14 @@
 block discarded – undo
24 24
     /**
25 25
      * @param PromotionSubjectInterface $subject
26 26
      * @param PromotionInterface $promotion
27
+     * @return void
27 28
      */
28 29
     public function apply(PromotionSubjectInterface $subject, PromotionInterface $promotion): void;
29 30
 
30 31
     /**
31 32
      * @param PromotionSubjectInterface $subject
32 33
      * @param PromotionInterface $promotion
34
+     * @return void
33 35
      */
34 36
     public function revert(PromotionSubjectInterface $subject, PromotionInterface $promotion): void;
35 37
 }
Please login to merge, or discard this patch.