Completed
Push — 1.2-symfony4-packages ( 39ce77...14945a )
by Kamil
18:11
created
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/TaxonTranslationInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param string|null $name
32
+     * @return void
32 33
      */
33 34
     public function setName(?string $name): void;
34 35
 
@@ -39,6 +40,7 @@  discard block
 block discarded – undo
39 40
 
40 41
     /**
41 42
      * @param string|null $description
43
+     * @return void
42 44
      */
43 45
     public function setDescription(?string $description): void;
44 46
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Inventory/Model/StockableInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param int|null $onHold
38
+     * @return void
38 39
      */
39 40
     public function setOnHold(?int $onHold): void;
40 41
 
@@ -45,6 +46,7 @@  discard block
 block discarded – undo
45 46
 
46 47
     /**
47 48
      * @param int|null $onHand
49
+     * @return void
48 50
      */
49 51
     public function setOnHand(?int $onHand): void;
50 52
 
@@ -55,6 +57,7 @@  discard block
 block discarded – undo
55 57
 
56 58
     /**
57 59
      * @param bool $tracked
60
+     * @return void
58 61
      */
59 62
     public function setTracked(bool $tracked): void;
60 63
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Model/PromotionRuleInterface.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/Shipping/Model/ShipmentInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -34,6 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * @param string|null $state
37
+     * @return void
37 38
      */
38 39
     public function setState(?string $state): void;
39 40
 
@@ -44,6 +45,7 @@  discard block
 block discarded – undo
44 45
 
45 46
     /**
46 47
      * @param ShippingMethodInterface|null $method
48
+     * @return void
47 49
      */
48 50
     public function setMethod(?ShippingMethodInterface $method): void;
49 51
 
@@ -54,11 +56,13 @@  discard block
 block discarded – undo
54 56
 
55 57
     /**
56 58
      * @param ShipmentUnitInterface $unit
59
+     * @return void
57 60
      */
58 61
     public function addUnit(ShipmentUnitInterface $unit): void;
59 62
 
60 63
     /**
61 64
      * @param ShipmentUnitInterface $unit
65
+     * @return void
62 66
      */
63 67
     public function removeUnit(ShipmentUnitInterface $unit): void;
64 68
 
@@ -76,6 +80,7 @@  discard block
 block discarded – undo
76 80
 
77 81
     /**
78 82
      * @param string|null $tracking
83
+     * @return void
79 84
      */
80 85
     public function setTracking(?string $tracking): void;
81 86
 
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShipmentUnitInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param ShipmentInterface|null $shipment
32
+     * @return void
32 33
      */
33 34
     public function setShipment(?ShipmentInterface $shipment): void;
34 35
 
Please login to merge, or discard this patch.