Total Complexity | 3 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Coverage | 33.33% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | final class PasswordReset extends Notification |
||
16 | { |
||
17 | /** |
||
18 | * The password reset token. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | public $token; |
||
23 | |||
24 | /** |
||
25 | * Create a notification instance. |
||
26 | * |
||
27 | * @param string $token |
||
28 | * @return void |
||
29 | */ |
||
30 | 2 | public function __construct(string $token) |
|
33 | 2 | } |
|
34 | |||
35 | /** |
||
36 | * Get the notification's delivery channels. |
||
37 | * |
||
38 | * @return array |
||
39 | */ |
||
40 | 2 | public function via(): array |
|
43 | } |
||
44 | |||
45 | /** |
||
46 | * Get the mail representation of the notification. |
||
47 | * |
||
48 | * @param User $user |
||
49 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
50 | */ |
||
51 | public function toMail(User $user): MailMessage |
||
67 |