Completed
Push — allow-no-default-tax-zone-in-c... ( 67cea0 )
by Kamil
06:23
created
src/Sylius/Component/Core/Model/PromotionCouponInterface.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -17,11 +17,22 @@
 block discarded – undo
17 17
 
18 18
 interface PromotionCouponInterface extends BasePromotionCouponInterface
19 19
 {
20
+    /**
21
+     * @return integer|null
22
+     */
20 23
     public function getPerCustomerUsageLimit(): ?int;
21 24
 
25
+    /**
26
+     * @param integer $perCustomerUsageLimit
27
+     *
28
+     * @return void
29
+     */
22 30
     public function setPerCustomerUsageLimit(?int $perCustomerUsageLimit): void;
23 31
 
24 32
     public function isReusableFromCancelledOrders(): bool;
25 33
 
34
+    /**
35
+     * @return void
36
+     */
26 37
     public function setReusableFromCancelledOrders(bool $reusableFromCancelledOrders): void;
27 38
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Promotion/UpdatePageInterface.php 1 patch
Doc Comments   +27 added lines patch added patch discarded remove patch
@@ -17,26 +17,50 @@  discard block
 block discarded – undo
17 17
 
18 18
 interface UpdatePageInterface extends BaseUpdatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function setPriority(?int $priority): void;
21 24
 
22 25
     public function getPriority(): int;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function nameIt(string $name): void;
25 31
 
26 32
     public function checkChannelsState(string $channelName): bool;
27 33
 
28 34
     public function isCodeDisabled(): bool;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function fillUsageLimit(string $limit): void;
31 40
 
41
+    /**
42
+     * @return void
43
+     */
32 44
     public function makeExclusive(): void;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function checkCouponBased(): void;
35 50
 
51
+    /**
52
+     * @return void
53
+     */
36 54
     public function checkChannel(string $name): void;
37 55
 
56
+    /**
57
+     * @return void
58
+     */
38 59
     public function setStartsAt(\DateTimeInterface $dateTime): void;
39 60
 
61
+    /**
62
+     * @return void
63
+     */
40 64
     public function setEndsAt(\DateTimeInterface $dateTime): void;
41 65
 
42 66
     public function hasStartsAt(\DateTimeInterface $dateTime): bool;
@@ -45,6 +69,9 @@  discard block
 block discarded – undo
45 69
 
46 70
     public function isCouponManagementAvailable(): bool;
47 71
 
72
+    /**
73
+     * @return void
74
+     */
48 75
     public function manageCoupons(): void;
49 76
 
50 77
     public function hasAnyRule(): bool;
Please login to merge, or discard this patch.