Completed
Push — revert-symfony-336 ( 87e565 )
by Kamil
36:02
created
src/Sylius/Component/Promotion/Model/PromotionInterface.php 1 patch
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.
src/Sylius/Component/Resource/Model/ArchivableInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param \DateTimeInterface $archivedAt
26
+     * @return void
26 27
      */
27 28
     public function setArchivedAt(\DateTimeInterface $archivedAt = null);
28 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/TimestampableInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param \DateTimeInterface $createdAt
26
+     * @return void
26 27
      */
27 28
     public function setCreatedAt(\DateTimeInterface $createdAt);
28 29
 
@@ -33,6 +34,7 @@  discard block
 block discarded – undo
33 34
 
34 35
     /**
35 36
      * @param \DateTimeInterface $updatedAt
37
+     * @return void
36 38
      */
37 39
     public function setUpdatedAt(\DateTimeInterface $updatedAt);
38 40
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserInterface.php 1 patch
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.
src/Sylius/Component/Core/spec/Updater/UnpaidOrdersStateUpdaterSpec.php 1 patch
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.