Skip to content

Commit 05b25f1

Browse files
committed
Minor README fix
[skip ci]
1 parent ed2afaf commit 05b25f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,11 @@ _If `$user->onLogin()` returns `false`, the user isn't set and the function retu
347347

348348
Logout
349349

350-
logout()
350+
void logout()
351351

352352
Get current user
353353

354-
User user()
354+
User|null user()
355355

356356

357357
### Authorization
@@ -460,8 +460,8 @@ $url = "http://$host/reset.php?token=$confirmationToken";
460460

461461
mail(
462462
$user->getEmail(),
463-
"Welcome to our site",
464-
"Please confirm your account by visiting $url"
463+
"Password reset request",
464+
"You may reset your password by visiting $url"
465465
);
466466
```
467467

0 commit comments

Comments
 (0)