Support user ULID / UUID instead of IDs #183
Annotations
4 errors
Run PHPStan:
src/Models/SocialiteUser.php#L50
Parameter #1 $attributes of method Illuminate\Database\Eloquent\Builder<$this(DutchCodingCompany\FilamentSocialite\Models\SocialiteUser)>::create() expects array<string, mixed>, array<int|string, mixed> given.
|
Run PHPStan:
tests/Fixtures/TestTenantUser.php#L32
Generic type Illuminate\Database\Eloquent\Relations\BelongsToMany<DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTeam> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\BelongsToMany: TRelatedModel, TDeclaringModel
|
Run PHPStan:
tests/Fixtures/TestTenantUser.php#L34
Method DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTenantUser::teams() should return Illuminate\Database\Eloquent\Relations\BelongsToMany<DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTeam> but returns Illuminate\Database\Eloquent\Relations\BelongsToMany<DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTeam, $this(DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTenantUser)>.
|
Run PHPStan
Process completed with exit code 1.
|
Loading