Completed
Push — 1.1-coding-standard-fixes ( 71011e )
by Kamil
28:55
created
src/Sylius/Behat/Page/Admin/PromotionCoupon/CreatePageInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -20,21 +20,25 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param int $limit
23
+     * @return void
23 24
      */
24 25
     public function setCustomerUsageLimit($limit);
25 26
 
26 27
     /**
27 28
      * @param \DateTimeInterface $date
29
+     * @return void
28 30
      */
29 31
     public function setExpiresAt(\DateTimeInterface $date);
30 32
 
31 33
     /**
32 34
      * @param string $code
35
+     * @return void
33 36
      */
34 37
     public function specifyCode($code);
35 38
 
36 39
     /**
37 40
      * @param int $limit
41
+     * @return void
38 42
      */
39 43
     public function setUsageLimit($limit);
40 44
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/GeneratePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -39,25 +39,32 @@
 block discarded – undo
39 39
      */
40 40
     public function checkGenerationValidation($message);
41 41
 
42
+    /**
43
+     * @return void
44
+     */
42 45
     public function generate();
43 46
 
44 47
     /**
45 48
      * @param int $amount
49
+     * @return void
46 50
      */
47 51
     public function specifyAmount($amount);
48 52
 
49 53
     /**
50 54
      * @param int $codeLength
55
+     * @return void
51 56
      */
52 57
     public function specifyCodeLength($codeLength);
53 58
 
54 59
     /**
55 60
      * @param \DateTimeInterface $date
61
+     * @return void
56 62
      */
57 63
     public function setExpiresAt(\DateTimeInterface $date);
58 64
 
59 65
     /**
60 66
      * @param int $limit
67
+     * @return void
61 68
      */
62 69
     public function setUsageLimit($limit);
63 70
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/UpdatePageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,16 +25,19 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param int $limit
28
+     * @return void
28 29
      */
29 30
     public function setCustomerUsageLimit($limit);
30 31
 
31 32
     /**
32 33
      * @param \DateTimeInterface $date
34
+     * @return void
33 35
      */
34 36
     public function setExpiresAt(\DateTimeInterface $date);
35 37
 
36 38
     /**
37 39
      * @param int $limit
40
+     * @return void
38 41
      */
39 42
     public function setUsageLimit($limit);
40 43
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/PromotionContext.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -354,6 +354,7 @@  discard block
 block discarded – undo
354 354
 
355 355
     /**
356 356
      * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order$/
357
+     * @param integer $discount
357 358
      */
358 359
     public function itGivesPercentageDiscountOnShippingToEveryOrder(PromotionInterface $promotion, $discount)
359 360
     {
@@ -677,6 +678,7 @@  discard block
 block discarded – undo
677 678
 
678 679
     /**
679 680
      * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order over ("(?:€|£|\$)[^"]+")$/
681
+     * @param integer $discount
680 682
      */
681 683
     public function itGivesDiscountOnShippingToEveryOrderOver(
682 684
         PromotionInterface $promotion,
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/BrowsingProductVariantsContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -57,6 +57,7 @@
 block discarded – undo
57 57
 
58 58
     /**
59 59
      * @Then the :productVariantCode variant of the :product product should appear in the store
60
+     * @param string|null $productVariantCode
60 61
      */
61 62
     public function theProductVariantShouldAppearInTheShop($productVariantCode, ProductInterface $product)
62 63
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Matcher/ZoneMatcher.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
     /**
149 149
      * @param string $code
150 150
      *
151
-     * @return ZoneInterface|null
151
+     * @return AddressInterface
152 152
      */
153 153
     private function getZoneByCode(string $code): ?ZoneInterface
154 154
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/AddressInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * @param string|null $firstName
31
+     * @return void
31 32
      */
32 33
     public function setFirstName(?string $firstName): void;
33 34
 
@@ -38,6 +39,7 @@  discard block
 block discarded – undo
38 39
 
39 40
     /**
40 41
      * @param string|null $lastName
42
+     * @return void
41 43
      */
42 44
     public function setLastName(?string $lastName): void;
43 45
 
@@ -53,6 +55,7 @@  discard block
 block discarded – undo
53 55
 
54 56
     /**
55 57
      * @param string|null $phoneNumber
58
+     * @return void
56 59
      */
57 60
     public function setPhoneNumber(?string $phoneNumber): void;
58 61
 
@@ -63,6 +66,7 @@  discard block
 block discarded – undo
63 66
 
64 67
     /**
65 68
      * @param string|null $company
69
+     * @return void
66 70
      */
67 71
     public function setCompany(?string $company): void;
68 72
 
@@ -73,6 +77,7 @@  discard block
 block discarded – undo
73 77
 
74 78
     /**
75 79
      * @param string|null $countryCode
80
+     * @return void
76 81
      */
77 82
     public function setCountryCode(?string $countryCode): void;
78 83
 
@@ -83,6 +88,7 @@  discard block
 block discarded – undo
83 88
 
84 89
     /**
85 90
      * @param string|null $provinceCode
91
+     * @return void
86 92
      */
87 93
     public function setProvinceCode(?string $provinceCode): void;
88 94
 
@@ -93,6 +99,7 @@  discard block
 block discarded – undo
93 99
 
94 100
     /**
95 101
      * @param string|null $provinceName
102
+     * @return void
96 103
      */
97 104
     public function setProvinceName(?string $provinceName): void;
98 105
 
@@ -103,6 +110,7 @@  discard block
 block discarded – undo
103 110
 
104 111
     /**
105 112
      * @param string|null $street
113
+     * @return void
106 114
      */
107 115
     public function setStreet(?string $street): void;
108 116
 
@@ -113,6 +121,7 @@  discard block
 block discarded – undo
113 121
 
114 122
     /**
115 123
      * @param string|null $city
124
+     * @return void
116 125
      */
117 126
     public function setCity(?string $city): void;
118 127
 
@@ -123,6 +132,7 @@  discard block
 block discarded – undo
123 132
 
124 133
     /**
125 134
      * @param string|null $postcode
135
+     * @return void
126 136
      */
127 137
     public function setPostcode(?string $postcode): void;
128 138
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/CountryInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -44,11 +44,13 @@
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * @param ProvinceInterface $province
47
+     * @return void
47 48
      */
48 49
     public function addProvince(ProvinceInterface $province): void;
49 50
 
50 51
     /**
51 52
      * @param ProvinceInterface $province
53
+     * @return void
52 54
      */
53 55
     public function removeProvince(ProvinceInterface $province): void;
54 56
 
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/ProvinceInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * @param string|null $name
31
+     * @return void
31 32
      */
32 33
     public function setName(?string $name): void;
33 34
 
@@ -38,6 +39,7 @@  discard block
 block discarded – undo
38 39
 
39 40
     /**
40 41
      * @param string|null $abbreviation
42
+     * @return void
41 43
      */
42 44
     public function setAbbreviation(?string $abbreviation): void;
43 45
 
@@ -48,6 +50,7 @@  discard block
 block discarded – undo
48 50
 
49 51
     /**
50 52
      * @param CountryInterface $country
53
+     * @return void
51 54
      */
52 55
     public function setCountry(?CountryInterface $country): void;
53 56
 }
Please login to merge, or discard this patch.