Skip to content

Commit

Permalink
Fix typehint for ResetPassword::toMailUsing()
Browse files Browse the repository at this point in the history
  • Loading branch information
KKSzymanowski committed Feb 20, 2024
1 parent 4656686 commit e2cec0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Auth/Notifications/ResetPassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ResetPassword extends Notification
/**
* The callback that should be used to build the mail message.
*
* @var (\Closure(mixed, string): \Illuminate\Notifications\Messages\MailMessage)|null
* @var (\Closure(mixed, string): \Illuminate\Notifications\Messages\MailMessage|\Illuminate\Contracts\Mail\Mailable)|null
*/
public static $toMailCallback;

Expand Down Expand Up @@ -114,7 +114,7 @@ public static function createUrlUsing($callback)
/**
* Set a callback that should be used when building the notification mail message.
*
* @param \Closure(mixed, string): \Illuminate\Notifications\Messages\MailMessage $callback
* @param \Closure(mixed, string): (\Illuminate\Notifications\Messages\MailMessage|\Illuminate\Contracts\Mail\Mailable) $callback
* @return void
*/
public static function toMailUsing($callback)
Expand Down

0 comments on commit e2cec0b

Please sign in to comment.