Completed
Push — pull-request/8500 ( e49efc...54b484 )
by Kamil
36:05 queued 17:36
created
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.
Promotion/Generator/PromotionCouponGeneratorInstructionInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param int|null $amount
28
+     * @return void
28 29
      */
29 30
     public function setAmount(?int $amount): void;
30 31
 
@@ -35,6 +36,7 @@  discard block
 block discarded – undo
35 36
 
36 37
     /**
37 38
      * @param int|null $codeLength
39
+     * @return void
38 40
      */
39 41
     public function setCodeLength(?int $codeLength): void;
40 42
 
@@ -45,6 +47,7 @@  discard block
 block discarded – undo
45 47
 
46 48
     /**
47 49
      * @param \DateTimeInterface $expiresAt
50
+     * @return void
48 51
      */
49 52
     public function setExpiresAt(\DateTimeInterface $expiresAt): void;
50 53
 
@@ -55,6 +58,7 @@  discard block
 block discarded – undo
55 58
 
56 59
     /**
57 60
      * @param int $usageLimit
61
+     * @return void
58 62
      */
59 63
     public function setUsageLimit(int $usageLimit): void;
60 64
 }
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.
src/Sylius/Component/Promotion/Model/PromotionInterface.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * @param string|null $name
33
+     * @return void
33 34
      */
34 35
     public function setName(?string $name): void;
35 36
 
@@ -40,6 +41,7 @@  discard block
 block discarded – undo
40 41
 
41 42
     /**
42 43
      * @param string|null $description
44
+     * @return void
43 45
      */
44 46
     public function setDescription(?string $description): void;
45 47
 
@@ -50,6 +52,7 @@  discard block
 block discarded – undo
50 52
 
51 53
     /**
52 54
      * @param int|null $priority
55
+     * @return void
53 56
      */
54 57
     public function setPriority(?int $priority): void;
55 58
 
@@ -60,6 +63,7 @@  discard block
 block discarded – undo
60 63
 
61 64
     /**
62 65
      * @param bool|null $exclusive
66
+     * @return void
63 67
      */
64 68
     public function setExclusive(?bool $exclusive): void;
65 69
 
@@ -70,6 +74,7 @@  discard block
 block discarded – undo
70 74
 
71 75
     /**
72 76
      * @param int|null $usageLimit
77
+     * @return void
73 78
      */
74 79
     public function setUsageLimit(?int $usageLimit): void;
75 80
 
@@ -80,11 +85,18 @@  discard block
 block discarded – undo
80 85
 
81 86
     /**
82 87
      * @param int $used
88
+     * @return void
83 89
      */
84 90
     public function setUsed(int $used): void;
85 91
 
92
+    /**
93
+     * @return void
94
+     */
86 95
     public function incrementUsed(): void;
87 96
 
97
+    /**
98
+     * @return void
99
+     */
88 100
     public function decrementUsed(): void;
89 101
 
90 102
     /**
@@ -94,6 +106,7 @@  discard block
 block discarded – undo
94 106
 
95 107
     /**
96 108
      * @param \DateTimeInterface|null $startsAt
109
+     * @return void
97 110
      */
98 111
     public function setStartsAt(?\DateTimeInterface $startsAt): void;
99 112
 
@@ -104,6 +117,7 @@  discard block
 block discarded – undo
104 117
 
105 118
     /**
106 119
      * @param \DateTimeInterface|null $endsAt
120
+     * @return void
107 121
      */
108 122
     public function setEndsAt(?\DateTimeInterface $endsAt): void;
109 123
 
@@ -114,6 +128,7 @@  discard block
 block discarded – undo
114 128
 
115 129
     /**
116 130
      * @param bool|null $couponBased
131
+     * @return void
117 132
      */
118 133
     public function setCouponBased(?bool $couponBased): void;
119 134
 
@@ -136,11 +151,13 @@  discard block
 block discarded – undo
136 151
 
137 152
     /**
138 153
      * @param PromotionCouponInterface $coupon
154
+     * @return void
139 155
      */
140 156
     public function addCoupon(PromotionCouponInterface $coupon): void;
141 157
 
142 158
     /**
143 159
      * @param PromotionCouponInterface $coupon
160
+     * @return void
144 161
      */
145 162
     public function removeCoupon(PromotionCouponInterface $coupon): void;
146 163
 
@@ -163,11 +180,13 @@  discard block
 block discarded – undo
163 180
 
164 181
     /**
165 182
      * @param PromotionRuleInterface $rule
183
+     * @return void
166 184
      */
167 185
     public function addRule(PromotionRuleInterface $rule): void;
168 186
 
169 187
     /**
170 188
      * @param PromotionRuleInterface $rule
189
+     * @return void
171 190
      */
172 191
     public function removeRule(PromotionRuleInterface $rule): void;
173 192
 
@@ -190,11 +209,13 @@  discard block
 block discarded – undo
190 209
 
191 210
     /**
192 211
      * @param PromotionActionInterface $action
212
+     * @return void
193 213
      */
194 214
     public function addAction(PromotionActionInterface $action): void;
195 215
 
196 216
     /**
197 217
      * @param PromotionActionInterface $action
218
+     * @return void
198 219
      */
199 220
     public function removeAction(PromotionActionInterface $action): void;
200 221
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Model/PromotionSubjectInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -40,11 +40,13 @@
 block discarded – undo
40 40
 
41 41
     /**
42 42
      * @param PromotionInterface $promotion
43
+     * @return void
43 44
      */
44 45
     public function addPromotion(PromotionInterface $promotion): void;
45 46
 
46 47
     /**
47 48
      * @param PromotionInterface $promotion
49
+     * @return void
48 50
      */
49 51
     public function removePromotion(PromotionInterface $promotion): void;
50 52
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Processor/PromotionProcessorInterface.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 PromotionSubjectInterface $subject
25
+     * @return void
25 26
      */
26 27
     public function process(PromotionSubjectInterface $subject): void;
27 28
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Taxonomy/Model/TaxonInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -41,6 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * @param TaxonInterface|null $taxon
44
+     * @return void
44 45
      */
45 46
     public function setParent(?TaxonInterface $taxon): void;
46 47
 
@@ -63,11 +64,13 @@  discard block
 block discarded – undo
63 64
 
64 65
     /**
65 66
      * @param TaxonInterface $taxon
67
+     * @return void
66 68
      */
67 69
     public function addChild(TaxonInterface $taxon): void;
68 70
 
69 71
     /**
70 72
      * @param TaxonInterface $taxon
73
+     * @return void
71 74
      */
72 75
     public function removeChild(TaxonInterface $taxon): void;
73 76
 
@@ -78,6 +81,7 @@  discard block
 block discarded – undo
78 81
 
79 82
     /**
80 83
      * @param string|null $name
84
+     * @return void
81 85
      */
82 86
     public function setName(?string $name): void;
83 87
 
@@ -88,6 +92,7 @@  discard block
 block discarded – undo
88 92
 
89 93
     /**
90 94
      * @param string|null $description
95
+     * @return void
91 96
      */
92 97
     public function setDescription(?string $description): void;
93 98
 
@@ -98,6 +103,7 @@  discard block
 block discarded – undo
98 103
 
99 104
     /**
100 105
      * @param int|null $left
106
+     * @return void
101 107
      */
102 108
     public function setLeft(?int $left): void;
103 109
 
@@ -108,6 +114,7 @@  discard block
 block discarded – undo
108 114
 
109 115
     /**
110 116
      * @param int|null $right
117
+     * @return void
111 118
      */
112 119
     public function setRight(?int $right): void;
113 120
 
@@ -118,6 +125,7 @@  discard block
 block discarded – undo
118 125
 
119 126
     /**
120 127
      * @param int|null $level
128
+     * @return void
121 129
      */
122 130
     public function setLevel(?int $level): void;
123 131
 
@@ -128,6 +136,7 @@  discard block
 block discarded – undo
128 136
 
129 137
     /**
130 138
      * @param int|null $position
139
+     * @return void
131 140
      */
132 141
     public function setPosition(?int $position): void;
133 142
 }
Please login to merge, or discard this patch.