1 | <?php |
||
21 | class EmailVerificationNotification extends Notification |
||
22 | { |
||
23 | /** |
||
24 | * The email verification token. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | public $token; |
||
29 | |||
30 | /** |
||
31 | * The password reset token expiration. |
||
32 | * |
||
33 | * @var string |
||
34 | */ |
||
35 | public $expiration; |
||
36 | |||
37 | /** |
||
38 | * Create a notification instance. |
||
39 | * |
||
40 | * @param array $token |
||
41 | * @param string $expiration |
||
42 | */ |
||
43 | public function __construct(array $token, $expiration) |
||
48 | |||
49 | /** |
||
50 | * Get the notification's channels. |
||
51 | * |
||
52 | * @param mixed $notifiable |
||
53 | * |
||
54 | * @return array|string |
||
55 | */ |
||
56 | public function via($notifiable) |
||
60 | |||
61 | /** |
||
62 | * Build the mail representation of the notification. |
||
63 | * |
||
64 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
65 | */ |
||
66 | public function toMail() |
||
78 | } |
||
79 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..