Skip to content

Conversation

@crynobone
Copy link
Member

Signed-off-by: Mior Muhammad Zaki [email protected]

@crynobone crynobone changed the title Improves ResetPassword Notification docblock [9.x] Improves ResetPassword Notification docblock Mar 17, 2022
* The callback that should be used to build the mail message.
*
* @var \Closure|null
* @var (\Closure(mixed, string): \Illuminate\Notifications\Messages\MailMessage)|null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should also be possible to return a Mailable (I have never tried that).

Suggested change
* @var (\Closure(mixed, string): \Illuminate\Notifications\Messages\MailMessage)|null
* @var (\Closure(mixed, string): (\Illuminate\Notifications\Messages\MailMessage|\Illuminate\Mail\Mailable))|null

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The usage class doesn't return what you suggesting. Maybe create different PR. I'm not adding something I can't confirm right now :-)

@taylorotwell taylorotwell merged commit 5169e53 into laravel:9.x Mar 17, 2022
@crynobone crynobone deleted the password-reset-docblock branch November 3, 2022 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants