Add support for PHP 8.4 #261
Annotations
5 errors
Run Larastan:
src/Models/ShortURL.php#L41
PHPDoc tag @use contains generic type Illuminate\Database\Eloquent\Factories\HasFactory<AshAllenDesign\ShortURL\Models\Factories\ShortURLFactory> but trait Illuminate\Database\Eloquent\Factories\HasFactory is not generic.
|
Run Larastan:
src/Models/ShortURL.php#L120
Generic type Illuminate\Database\Eloquent\Relations\HasMany<AshAllenDesign\ShortURL\Models\ShortURLVisit, AshAllenDesign\ShortURL\Models\ShortURL> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\HasMany supports only 1: TRelatedModel
|
Run Larastan:
src/Models/ShortURL.php#L122
Method AshAllenDesign\ShortURL\Models\ShortURL::visits() should return Illuminate\Database\Eloquent\Relations\HasMany<AshAllenDesign\ShortURL\Models\ShortURLVisit, AshAllenDesign\ShortURL\Models\ShortURL> but returns Illuminate\Database\Eloquent\Relations\HasMany<AshAllenDesign\ShortURL\Models\ShortURLVisit>.
|
Run Larastan:
src/Models/ShortURLVisit.php#L33
PHPDoc tag @use contains generic type Illuminate\Database\Eloquent\Factories\HasFactory<AshAllenDesign\ShortURL\Models\Factories\ShortURLVisitFactory> but trait Illuminate\Database\Eloquent\Factories\HasFactory is not generic.
|
Run Larastan
Process completed with exit code 1.
|
Loading