Completed
Push — 1.2-symfony-4.0-application ( 618605 )
by Kamil
58:56
created
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.
src/Sylius/Component/Promotion/Model/PromotionActionInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,16 +22,19 @@
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param string|null $type
25
+     * @return void
25 26
      */
26 27
     public function setType(?string $type): void;
27 28
 
28 29
     /**
29 30
      * @param array $configuration
31
+     * @return void
30 32
      */
31 33
     public function setConfiguration(array $configuration): void;
32 34
 
33 35
     /**
34 36
      * @param PromotionInterface|null $promotion
37
+     * @return void
35 38
      */
36 39
     public function setPromotion(?PromotionInterface $promotion): void;
37 40
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Model/PromotionCouponInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param int|null $usageLimit
32
+     * @return void
32 33
      */
33 34
     public function setUsageLimit(?int $usageLimit): void;
34 35
 
@@ -39,11 +40,18 @@  discard block
 block discarded – undo
39 40
 
40 41
     /**
41 42
      * @param int $used
43
+     * @return void
42 44
      */
43 45
     public function setUsed(int $used): void;
44 46
 
47
+    /**
48
+     * @return void
49
+     */
45 50
     public function incrementUsed(): void;
46 51
 
52
+    /**
53
+     * @return void
54
+     */
47 55
     public function decrementUsed(): void;
48 56
 
49 57
     /**
@@ -53,6 +61,7 @@  discard block
 block discarded – undo
53 61
 
54 62
     /**
55 63
      * @param PromotionInterface|null $promotion
64
+     * @return void
56 65
      */
57 66
     public function setPromotion(?PromotionInterface $promotion): void;
58 67
 
@@ -63,6 +72,7 @@  discard block
 block discarded – undo
63 72
 
64 73
     /**
65 74
      * @param \DateTimeInterface $expiresAt
75
+     * @return void
66 76
      */
67 77
     public function setExpiresAt(?\DateTimeInterface $expiresAt): void;
68 78
 
Please login to merge, or discard this patch.