@@ -9,7 +9,7 @@ |
||
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\Security; |
15 | 15 |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface PasswordUpdaterInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function updatePassword(CredentialsHolderInterface $user): void; |
21 | 24 | } |
@@ -9,7 +9,7 @@ |
||
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\Security\Generator; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
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 |
@@ -41,6 +41,7 @@ discard block |
||
41 | 41 | |
42 | 42 | /** |
43 | 43 | * @param string|null $email |
44 | + * @return void |
|
44 | 45 | */ |
45 | 46 | public function setEmail(?string $email): void; |
46 | 47 | |
@@ -53,11 +54,13 @@ discard block |
||
53 | 54 | |
54 | 55 | /** |
55 | 56 | * @param string|null $emailCanonical |
57 | + * @return void |
|
56 | 58 | */ |
57 | 59 | public function setEmailCanonical(?string $emailCanonical): void; |
58 | 60 | |
59 | 61 | /** |
60 | 62 | * @param string|null $username |
63 | + * @return void |
|
61 | 64 | */ |
62 | 65 | public function setUsername(?string $username): void; |
63 | 66 | |
@@ -70,11 +73,13 @@ discard block |
||
70 | 73 | |
71 | 74 | /** |
72 | 75 | * @param string|null $usernameCanonical |
76 | + * @return void |
|
73 | 77 | */ |
74 | 78 | public function setUsernameCanonical(?string $usernameCanonical): void; |
75 | 79 | |
76 | 80 | /** |
77 | 81 | * @param bool $locked |
82 | + * @return void |
|
78 | 83 | */ |
79 | 84 | public function setLocked(bool $locked): void; |
80 | 85 | |
@@ -85,6 +90,7 @@ discard block |
||
85 | 90 | |
86 | 91 | /** |
87 | 92 | * @param string|null $verificationToken |
93 | + * @return void |
|
88 | 94 | */ |
89 | 95 | public function setEmailVerificationToken(?string $verificationToken): void; |
90 | 96 | |
@@ -95,6 +101,7 @@ discard block |
||
95 | 101 | |
96 | 102 | /** |
97 | 103 | * @param string|null $passwordResetToken |
104 | + * @return void |
|
98 | 105 | */ |
99 | 106 | public function setPasswordResetToken(?string $passwordResetToken): void; |
100 | 107 | |
@@ -105,6 +112,7 @@ discard block |
||
105 | 112 | |
106 | 113 | /** |
107 | 114 | * @param \DateTimeInterface|null $date |
115 | + * @return void |
|
108 | 116 | */ |
109 | 117 | public function setPasswordRequestedAt(?\DateTimeInterface $date): void; |
110 | 118 | |
@@ -127,6 +135,7 @@ discard block |
||
127 | 135 | |
128 | 136 | /** |
129 | 137 | * @param \DateTimeInterface|null $verifiedAt |
138 | + * @return void |
|
130 | 139 | */ |
131 | 140 | public function setVerifiedAt(?\DateTimeInterface $verifiedAt): void; |
132 | 141 | |
@@ -137,6 +146,7 @@ discard block |
||
137 | 146 | |
138 | 147 | /** |
139 | 148 | * @param \DateTimeInterface|null $date |
149 | + * @return void |
|
140 | 150 | */ |
141 | 151 | public function setExpiresAt(?\DateTimeInterface $date): void; |
142 | 152 | |
@@ -147,6 +157,7 @@ discard block |
||
147 | 157 | |
148 | 158 | /** |
149 | 159 | * @param \DateTimeInterface|null $date |
160 | + * @return void |
|
150 | 161 | */ |
151 | 162 | public function setCredentialsExpireAt(?\DateTimeInterface $date): void; |
152 | 163 | |
@@ -157,6 +168,7 @@ discard block |
||
157 | 168 | |
158 | 169 | /** |
159 | 170 | * @param \DateTimeInterface|null $time |
171 | + * @return void |
|
160 | 172 | */ |
161 | 173 | public function setLastLogin(?\DateTimeInterface $time): void; |
162 | 174 | |
@@ -176,11 +188,13 @@ discard block |
||
176 | 188 | |
177 | 189 | /** |
178 | 190 | * @param string $role |
191 | + * @return void |
|
179 | 192 | */ |
180 | 193 | public function addRole(string $role): void; |
181 | 194 | |
182 | 195 | /** |
183 | 196 | * @param string $role |
197 | + * @return void |
|
184 | 198 | */ |
185 | 199 | public function removeRole(string $role): void; |
186 | 200 | |
@@ -198,6 +212,7 @@ discard block |
||
198 | 212 | |
199 | 213 | /** |
200 | 214 | * @param UserOAuthInterface $oauth |
215 | + * @return void |
|
201 | 216 | */ |
202 | 217 | public function addOAuthAccount(UserOAuthInterface $oauth): void; |
203 | 218 | } |
@@ -9,7 +9,7 @@ |
||
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\Canonicalizer; |
15 | 15 |
@@ -15,5 +15,10 @@ |
||
15 | 15 | |
16 | 16 | interface CanonicalizerInterface |
17 | 17 | { |
18 | + /** |
|
19 | + * @param string|null $string |
|
20 | + * |
|
21 | + * @return string |
|
22 | + */ |
|
18 | 23 | public function canonicalize(?string $string): ?string; |
19 | 24 | } |
@@ -9,7 +9,7 @@ |
||
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\Currency\Context; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
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\Currency\Converter; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
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\Currency\Model; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
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\Currency\Context; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
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\Currency\Converter; |
15 | 15 |