Skip to content

Commit

Permalink
use fully qualified names
Browse files Browse the repository at this point in the history
  • Loading branch information
bert-w committed Feb 26, 2024
1 parent 59c68a3 commit 2d4f95e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FilamentSocialite.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function getPanelId(): string

public function getPlugin(): FilamentSocialitePlugin
{
/** @var FilamentSocialitePlugin */
/** @var \DutchCodingCompany\FilamentSocialite\FilamentSocialitePlugin */
return Filament::getCurrentPanel()->getPlugin('filament-socialite');
}

Expand Down Expand Up @@ -95,7 +95,7 @@ public function getUserModel(): Model & Authenticatable
public function getUserResolver(): Closure
{
return $this->userResolver ?? function (string $provider, SocialiteUserContract $oauthUser, FilamentSocialite $socialite) {
/** @var \Illuminate\Database\Eloquent\Builder<Model&Authenticatable> $query */
/** @var \Illuminate\Database\Eloquent\Builder<\Illuminate\Database\Eloquent\Model&\Illuminate\Contracts\Auth\Authenticatable> $query */
$query = $this->getUserModel()->where(
'email',
$oauthUser->getEmail()
Expand Down

0 comments on commit 2d4f95e

Please sign in to comment.