Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | trait WithEmailChangeVerification |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * Get the e-mail address where email change verification links are sent. |
||
12 | * |
||
13 | * @return string |
||
14 | */ |
||
15 | 14 | public function getEmailForChangeEmail(): string |
|
18 | } |
||
19 | |||
20 | /** |
||
21 | * Send the verification notification. |
||
22 | * |
||
23 | * @param string $token |
||
24 | * @param string $newEmail |
||
25 | * |
||
26 | * @return void |
||
27 | */ |
||
28 | 5 | public function sendEmailChangeNotification(string $token, string $newEmail): void |
|
33 |