diff --git a/src/Auth.php b/src/Auth.php index 0b12e3567..d1b000e35 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -24,17 +24,17 @@ /** * Facade for Authentication * - * @method Result attempt(array $credentials) - * @method Result check(array $credentials) - * @method bool checkAction(string $token, string $type) [Session] - * @method void forget(?User $user = null) [Session] + * @method Result attempt(array{email?: string, username?: string, password?: string, token?: string} $credentials) + * @method Result check(array{email?: string, username?: string, password?: string, token?: string} $credentials) + * @method bool checkAction(string $token, string $type) [Session] + * @method void forget(?User $user = null) [Session] * @method User|null getUser() * @method bool loggedIn() * @method bool login(User $user) * @method void loginById($userId) * @method bool logout() * @method void recordActiveDate() - * @method $this remember(bool $shouldRemember = true) [Session] + * @method $this remember(bool $shouldRemember = true) [Session] */ class Auth {