Skip to content

Commit 5169e53

Browse files
crynobonetaylorotwellJubeki
authored
[9.x] Improves ResetPassword Notification docblock (#41529)
* Improves ResetPassword Notification docblock Signed-off-by: Mior Muhammad Zaki <[email protected]> * Update src/Illuminate/Auth/Notifications/ResetPassword.php Co-authored-by: Julius Kiekbusch <[email protected]> Co-authored-by: Taylor Otwell <[email protected]> Co-authored-by: Julius Kiekbusch <[email protected]>
1 parent 6cc6024 commit 5169e53

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Illuminate/Auth/Notifications/ResetPassword.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ class ResetPassword extends Notification
1818
/**
1919
* The callback that should be used to create the reset password URL.
2020
*
21-
* @var \Closure|null
21+
* @var (\Closure(mixed, string): string)|null
2222
*/
2323
public static $createUrlCallback;
2424

2525
/**
2626
* The callback that should be used to build the mail message.
2727
*
28-
* @var \Closure|null
28+
* @var (\Closure(mixed, string): \Illuminate\Notifications\Messages\MailMessage)|null
2929
*/
3030
public static $toMailCallback;
3131

@@ -103,7 +103,7 @@ protected function resetUrl($notifiable)
103103
/**
104104
* Set a callback that should be used when creating the reset password button URL.
105105
*
106-
* @param \Closure $callback
106+
* @param \Closure(mixed, string): string $callback
107107
* @return void
108108
*/
109109
public static function createUrlUsing($callback)
@@ -114,7 +114,7 @@ public static function createUrlUsing($callback)
114114
/**
115115
* Set a callback that should be used when building the notification mail message.
116116
*
117-
* @param \Closure $callback
117+
* @param \Closure(mixed, string): (\Illuminate\Notifications\Messages\MailMessage|\Illuminate\Mail\Mailable) $callback
118118
* @return void
119119
*/
120120
public static function toMailUsing($callback)

0 commit comments

Comments
 (0)