Skip to content

Commit

Permalink
Merge pull request #1190 from datamweb/chore-fix-phpstan
Browse files Browse the repository at this point in the history
chore: fix phpstan error for `$credentials`
  • Loading branch information
datamweb authored Aug 28, 2024
2 parents 43add5a + 93e3c71 commit 4170cdf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 4170cdf

Please sign in to comment.