Skip to content

Commit 93e3c71

Browse files
committed
chore: fix phpstand error for $credentials
1 parent 43add5a commit 93e3c71

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Auth.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
2424
/**
2525
* Facade for Authentication
2626
*
27-
* @method Result attempt(array $credentials)
28-
* @method Result check(array $credentials)
29-
* @method bool checkAction(string $token, string $type) [Session]
30-
* @method void forget(?User $user = null) [Session]
27+
* @method Result attempt(array{email?: string, username?: string, password?: string, token?: string} $credentials)
28+
* @method Result check(array{email?: string, username?: string, password?: string, token?: string} $credentials)
29+
* @method bool checkAction(string $token, string $type) [Session]
30+
* @method void forget(?User $user = null) [Session]
3131
* @method User|null getUser()
3232
* @method bool loggedIn()
3333
* @method bool login(User $user)
3434
* @method void loginById($userId)
3535
* @method bool logout()
3636
* @method void recordActiveDate()
37-
* @method $this remember(bool $shouldRemember = true) [Session]
37+
* @method $this remember(bool $shouldRemember = true) [Session]
3838
*/
3939
class Auth
4040
{

0 commit comments

Comments
 (0)