Completed
Push — 1.6 ( 78c2c3...47573d )
by Kamil
05:30 queued 11s
created
src/Sylius/Behat/Context/Setup/PromotionContext.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -400,6 +400,7 @@  discard block
 block discarded – undo
400 400
 
401 401
     /**
402 402
      * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order$/
403
+     * @param integer $discount
403 404
      */
404 405
     public function itGivesPercentageDiscountOnShippingToEveryOrder(PromotionInterface $promotion, $discount)
405 406
     {
@@ -725,6 +726,7 @@  discard block
 block discarded – undo
725 726
 
726 727
     /**
727 728
      * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order over ("(?:€|£|\$)[^"]+")$/
729
+     * @param integer $discount
728 730
      */
729 731
     public function itGivesDiscountOnShippingToEveryOrderOver(
730 732
         PromotionInterface $promotion,
@@ -899,6 +901,9 @@  discard block
 block discarded – undo
899 901
         return $coupon;
900 902
     }
901 903
 
904
+    /**
905
+     * @param string $prefix
906
+     */
902 907
     private function generateCoupons(
903 908
         int $amount,
904 909
         PromotionInterface $promotion,
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/GeneratePageInterface.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -23,17 +23,38 @@
 block discarded – undo
23 23
 
24 24
     public function checkGenerationValidation(string $message): bool;
25 25
 
26
+    /**
27
+     * @return void
28
+     */
26 29
     public function generate(): void;
27 30
 
31
+    /**
32
+     * @return void
33
+     */
28 34
     public function specifyAmount(?int $amount): void;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function specifyCodeLength(?int $codeLength): void;
31 40
 
41
+    /**
42
+     * @return void
43
+     */
32 44
     public function setExpiresAt(\DateTimeInterface $date): void;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function setUsageLimit(int $limit): void;
35 50
 
51
+    /**
52
+     * @return void
53
+     */
36 54
     public function specifyPrefix(string $prefix): void;
37 55
 
56
+    /**
57
+     * @return void
58
+     */
38 59
     public function specifySuffix(string $suffix): void;
39 60
 }
Please login to merge, or discard this patch.