Completed
Push — scalar-types/resource ( 4ed1ad...4eb8b4 )
by Kamil
23:41
created
src/Sylius/Behat/Page/Admin/PromotionCoupon/CreatePageInterface.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Admin\PromotionCoupon;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/GeneratePageInterface.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Admin\PromotionCoupon;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/UpdatePageInterface.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Admin\PromotionCoupon;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderInterface.php 2 patches
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param null|\DateTimeInterface $checkoutCompletedAt
35
+     * @return void
35 36
      */
36 37
     public function setCheckoutCompletedAt(\DateTimeInterface $checkoutCompletedAt = null);
37 38
 
@@ -40,6 +41,9 @@  discard block
 block discarded – undo
40 41
      */
41 42
     public function isCheckoutCompleted();
42 43
 
44
+    /**
45
+     * @return void
46
+     */
43 47
     public function completeCheckout();
44 48
 
45 49
     /**
@@ -49,6 +53,7 @@  discard block
 block discarded – undo
49 53
 
50 54
     /**
51 55
      * @param string
56
+     * @return void
52 57
      */
53 58
     public function setNumber($number);
54 59
 
@@ -59,6 +64,7 @@  discard block
 block discarded – undo
59 64
 
60 65
     /**
61 66
      * @param string $notes
67
+     * @return void
62 68
      */
63 69
     public function setNotes($notes);
64 70
 
@@ -67,6 +73,9 @@  discard block
 block discarded – undo
67 73
      */
68 74
     public function getItems();
69 75
 
76
+    /**
77
+     * @return void
78
+     */
70 79
     public function clearItems();
71 80
 
72 81
     /**
@@ -76,11 +85,13 @@  discard block
 block discarded – undo
76 85
 
77 86
     /**
78 87
      * @param OrderItemInterface $item
88
+     * @return void
79 89
      */
80 90
     public function addItem(OrderItemInterface $item);
81 91
 
82 92
     /**
83 93
      * @param OrderItemInterface $item
94
+     * @return void
84 95
      */
85 96
     public function removeItem(OrderItemInterface $item);
86 97
 
@@ -96,6 +107,9 @@  discard block
 block discarded – undo
96 107
      */
97 108
     public function getItemsTotal();
98 109
 
110
+    /**
111
+     * @return void
112
+     */
99 113
     public function recalculateItemsTotal();
100 114
 
101 115
     /**
@@ -115,6 +129,7 @@  discard block
 block discarded – undo
115 129
 
116 130
     /**
117 131
      * @param string $state
132
+     * @return void
118 133
      */
119 134
     public function setState($state);
120 135
 
@@ -139,6 +154,7 @@  discard block
 block discarded – undo
139 154
 
140 155
     /**
141 156
      * @param string|null $type
157
+     * @return void
142 158
      */
143 159
     public function removeAdjustmentsRecursively($type = null);
144 160
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Order\Model;
15 15
 
Please login to merge, or discard this patch.
Promotion/Generator/PromotionCouponGeneratorInstructionInterface.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param int $amount
26
+     * @return void
26 27
      */
27 28
     public function setAmount($amount);
28 29
 
@@ -33,6 +34,7 @@  discard block
 block discarded – undo
33 34
 
34 35
     /**
35 36
      * @param int $codeLength
37
+     * @return void
36 38
      */
37 39
     public function setCodeLength($codeLength);
38 40
 
@@ -43,6 +45,7 @@  discard block
 block discarded – undo
43 45
 
44 46
     /**
45 47
      * @param \DateTimeInterface $expiresAt
48
+     * @return void
46 49
      */
47 50
     public function setExpiresAt(\DateTimeInterface $expiresAt = null);
48 51
 
@@ -53,6 +56,7 @@  discard block
 block discarded – undo
53 56
 
54 57
     /**
55 58
      * @param int $usageLimit
59
+     * @return void
56 60
      */
57 61
     public function setUsageLimit($usageLimit);
58 62
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Promotion\Generator;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Model/PromotionCouponInterface.php 2 patches
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param int|null $usageLimit
30
+     * @return void
30 31
      */
31 32
     public function setUsageLimit($usageLimit);
32 33
 
@@ -37,11 +38,18 @@  discard block
 block discarded – undo
37 38
 
38 39
     /**
39 40
      * @param int $used
41
+     * @return void
40 42
      */
41 43
     public function setUsed($used);
42 44
 
45
+    /**
46
+     * @return void
47
+     */
43 48
     public function incrementUsed();
44 49
 
50
+    /**
51
+     * @return void
52
+     */
45 53
     public function decrementUsed();
46 54
 
47 55
     /**
@@ -51,6 +59,7 @@  discard block
 block discarded – undo
51 59
 
52 60
     /**
53 61
      * @param PromotionInterface $promotion
62
+     * @return void
54 63
      */
55 64
     public function setPromotion(PromotionInterface $promotion = null);
56 65
 
@@ -61,6 +70,7 @@  discard block
 block discarded – undo
61 70
 
62 71
     /**
63 72
      * @param \DateTimeInterface $expiresAt
73
+     * @return void
64 74
      */
65 75
     public function setExpiresAt(\DateTimeInterface $expiresAt = null);
66 76
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Promotion\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Model/PromotionInterface.php 2 patches
Doc Comments   +21 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 $name
31
+     * @return void
31 32
      */
32 33
     public function setName($name);
33 34
 
@@ -38,6 +39,7 @@  discard block
 block discarded – undo
38 39
 
39 40
     /**
40 41
      * @param string $description
42
+     * @return void
41 43
      */
42 44
     public function setDescription($description);
43 45
 
@@ -48,6 +50,7 @@  discard block
 block discarded – undo
48 50
 
49 51
     /**
50 52
      * @param int $priority
53
+     * @return void
51 54
      */
52 55
     public function setPriority($priority);
53 56
 
@@ -58,6 +61,7 @@  discard block
 block discarded – undo
58 61
 
59 62
     /**
60 63
      * @param bool $exclusive
64
+     * @return void
61 65
      */
62 66
     public function setExclusive($exclusive);
63 67
 
@@ -68,6 +72,7 @@  discard block
 block discarded – undo
68 72
 
69 73
     /**
70 74
      * @param int $usageLimit
75
+     * @return void
71 76
      */
72 77
     public function setUsageLimit($usageLimit);
73 78
 
@@ -78,11 +83,18 @@  discard block
 block discarded – undo
78 83
 
79 84
     /**
80 85
      * @param int $used
86
+     * @return void
81 87
      */
82 88
     public function setUsed($used);
83 89
 
90
+    /**
91
+     * @return void
92
+     */
84 93
     public function incrementUsed();
85 94
 
95
+    /**
96
+     * @return void
97
+     */
86 98
     public function decrementUsed();
87 99
 
88 100
     /**
@@ -92,6 +104,7 @@  discard block
 block discarded – undo
92 104
 
93 105
     /**
94 106
      * @param \DateTimeInterface $startsAt
107
+     * @return void
95 108
      */
96 109
     public function setStartsAt(\DateTimeInterface $startsAt = null);
97 110
 
@@ -102,6 +115,7 @@  discard block
 block discarded – undo
102 115
 
103 116
     /**
104 117
      * @param \DateTimeInterface $endsAt
118
+     * @return void
105 119
      */
106 120
     public function setEndsAt(\DateTimeInterface $endsAt = null);
107 121
 
@@ -112,6 +126,7 @@  discard block
 block discarded – undo
112 126
 
113 127
     /**
114 128
      * @param bool $couponBased
129
+     * @return void
115 130
      */
116 131
     public function setCouponBased($couponBased);
117 132
 
@@ -134,11 +149,13 @@  discard block
 block discarded – undo
134 149
 
135 150
     /**
136 151
      * @param PromotionCouponInterface $coupon
152
+     * @return void
137 153
      */
138 154
     public function addCoupon(PromotionCouponInterface $coupon);
139 155
 
140 156
     /**
141 157
      * @param PromotionCouponInterface $coupon
158
+     * @return void
142 159
      */
143 160
     public function removeCoupon(PromotionCouponInterface $coupon);
144 161
 
@@ -161,11 +178,13 @@  discard block
 block discarded – undo
161 178
 
162 179
     /**
163 180
      * @param PromotionRuleInterface $rule
181
+     * @return void
164 182
      */
165 183
     public function addRule(PromotionRuleInterface $rule);
166 184
 
167 185
     /**
168 186
      * @param PromotionRuleInterface $rule
187
+     * @return void
169 188
      */
170 189
     public function removeRule(PromotionRuleInterface $rule);
171 190
 
@@ -188,11 +207,13 @@  discard block
 block discarded – undo
188 207
 
189 208
     /**
190 209
      * @param PromotionActionInterface $action
210
+     * @return void
191 211
      */
192 212
     public function addAction(PromotionActionInterface $action);
193 213
 
194 214
     /**
195 215
      * @param PromotionActionInterface $action
216
+     * @return void
196 217
      */
197 218
     public function removeAction(PromotionActionInterface $action);
198 219
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Promotion\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserInterface.php 2 patches
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param string $email
42
+     * @return void
42 43
      */
43 44
     public function setEmail($email);
44 45
 
@@ -51,11 +52,13 @@  discard block
 block discarded – undo
51 52
 
52 53
     /**
53 54
      * @param string $emailCanonical
55
+     * @return void
54 56
      */
55 57
     public function setEmailCanonical($emailCanonical);
56 58
 
57 59
     /**
58 60
      * @param string $username
61
+     * @return void
59 62
      */
60 63
     public function setUsername($username);
61 64
 
@@ -68,11 +71,13 @@  discard block
 block discarded – undo
68 71
 
69 72
     /**
70 73
      * @param string $usernameCanonical
74
+     * @return void
71 75
      */
72 76
     public function setUsernameCanonical($usernameCanonical);
73 77
 
74 78
     /**
75 79
      * @param bool $locked
80
+     * @return void
76 81
      */
77 82
     public function setLocked($locked);
78 83
 
@@ -83,6 +88,7 @@  discard block
 block discarded – undo
83 88
 
84 89
     /**
85 90
      * @param string $verificationToken
91
+     * @return void
86 92
      */
87 93
     public function setEmailVerificationToken($verificationToken);
88 94
 
@@ -93,6 +99,7 @@  discard block
 block discarded – undo
93 99
 
94 100
     /**
95 101
      * @param string $passwordResetToken
102
+     * @return void
96 103
      */
97 104
     public function setPasswordResetToken($passwordResetToken);
98 105
 
@@ -103,6 +110,7 @@  discard block
 block discarded – undo
103 110
 
104 111
     /**
105 112
      * @param \DateTimeInterface|null $date
113
+     * @return void
106 114
      */
107 115
     public function setPasswordRequestedAt(\DateTimeInterface $date = null);
108 116
 
@@ -125,11 +133,13 @@  discard block
 block discarded – undo
125 133
 
126 134
     /**
127 135
      * @param \DateTimeInterface|null $verifiedAt
136
+     * @return void
128 137
      */
129 138
     public function setVerifiedAt(\DateTimeInterface $verifiedAt = null);
130 139
 
131 140
     /**
132 141
      * @param \DateTimeInterface|null $date
142
+     * @return void
133 143
      */
134 144
     public function setCredentialsExpireAt(\DateTimeInterface $date = null);
135 145
 
@@ -140,6 +150,7 @@  discard block
 block discarded – undo
140 150
 
141 151
     /**
142 152
      * @param \DateTimeInterface|null $time
153
+     * @return void
143 154
      */
144 155
     public function setLastLogin(\DateTimeInterface $time = null);
145 156
 
@@ -159,11 +170,13 @@  discard block
 block discarded – undo
159 170
 
160 171
     /**
161 172
      * @param string $role
173
+     * @return void
162 174
      */
163 175
     public function addRole($role);
164 176
 
165 177
     /**
166 178
      * @param string $role
179
+     * @return void
167 180
      */
168 181
     public function removeRole($role);
169 182
 
@@ -181,6 +194,7 @@  discard block
 block discarded – undo
181 194
 
182 195
     /**
183 196
      * @param UserOAuthInterface $oauth
197
+     * @return void
184 198
      */
185 199
     public function addOAuthAccount(UserOAuthInterface $oauth);
186 200
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\User\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Updater/UnpaidOrdersStateUpdaterSpec.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
         StateMachineInterface $secondOrderStateMachine
51 51
     ) {
52 52
         $orderRepository->findOrdersUnpaidSince(Argument::type(\DateTimeInterface::class))->willReturn([
53
-           $firstOrder,
54
-           $secondOrder
53
+            $firstOrder,
54
+            $secondOrder
55 55
         ]);
56 56
 
57 57
         $stateMachineFactory->get($firstOrder, 'sylius_order')->willReturn($firstOrderStateMachine);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace spec\Sylius\Component\Core\Updater;
15 15
 
Please login to merge, or discard this patch.