ignore phpstan error #160
Annotations
6 errors
src/FilamentSocialiteServiceProvider.php#L54
No error to ignore is reported on line 54.
|
src/Models/SocialiteUser.php#L20
Class DutchCodingCompany\FilamentSocialite\Models\SocialiteUser uses generic trait Illuminate\Database\Eloquent\Factories\HasFactory but does not specify its types: TFactory
|
src/Models/SocialiteUser.php#L33
Method DutchCodingCompany\FilamentSocialite\Models\SocialiteUser::user() should return Illuminate\Database\Eloquent\Relations\BelongsTo<Illuminate\Contracts\Auth\Authenticatable&Illuminate\Database\Eloquent\Model, DutchCodingCompany\FilamentSocialite\Models\SocialiteUser> but returns Illuminate\Database\Eloquent\Relations\BelongsTo<TRelatedModel of Illuminate\Database\Eloquent\Model, $this(DutchCodingCompany\FilamentSocialite\Models\SocialiteUser)>.
|
src/Models/SocialiteUser.php#L33
Parameter #1 $related of method Illuminate\Database\Eloquent\Model::belongsTo() expects class-string<Illuminate\Database\Eloquent\Model>, class-string<Illuminate\Contracts\Auth\Authenticatable> given.
|
src/Models/SocialiteUser.php#L33
Unable to resolve the template type TRelatedModel in call to method Illuminate\Database\Eloquent\Model::belongsTo()
|
|
This job failed
Loading