chore(deps-dev): bump larastan/larastan from 2.9.11 to 3.0.0 #2127
Annotations
10 errors
PHPStan:
app/Console/Commands/PullChampionship.php#L30
Call to function is_string() with string will always evaluate to true.
|
PHPStan:
app/Jobs/ExportGame.php#L82
Using nullsafe property access "?->name" on left side of ?? is unnecessary. Use -> instead.
|
PHPStan:
app/Jobs/ExportGameHistory.php#L152
Using nullsafe property access "?->name" on left side of ?? is unnecessary. Use -> instead.
|
PHPStan:
app/Jobs/FindMatchesFromMatchup.php#L26
Property App\Jobs\FindMatchesFromMatchup::$client (App\Services\DotApi\InfiniteInterface|null) is never assigned null so it can be removed from the property type.
|
PHPStan:
app/Jobs/FindMatchesFromMatchup.php#L71
Parameter #1 $callback of method Illuminate\Support\LazyCollection<int,Illuminate\Database\Eloquent\Model>::filter() expects (callable(Illuminate\Database\Eloquent\Model, int): bool)|null, Closure(App\Models\Game): bool given.
|
PHPStan:
app/Jobs/FindMatchesFromMatchup.php#L78
Parameter #1 $callback of method Illuminate\Support\LazyCollection<int,Illuminate\Database\Eloquent\Model>::each() expects callable(Illuminate\Database\Eloquent\Model, int): mixed, Closure(App\Models\Game): void given.
|
PHPStan:
app/Jobs/FindPlayersFromTeam.php#L25
Property App\Jobs\FindPlayersFromTeam::$client (App\Services\DotApi\InfiniteInterface|null) is never assigned null so it can be removed from the property type.
|
PHPStan:
app/Jobs/ProcessMedalAnalytic.php#L56
Using nullsafe property access "?->name" on left side of ?? is unnecessary. Use -> instead.
|
PHPStan:
app/Jobs/ProcessOverviewAnalytic.php#L61
Using nullsafe property access "?->thumbnail_url" on left side of ?? is unnecessary. Use -> instead.
|
PHPStan:
app/Jobs/ProcessScrim.php#L29
Cannot call method each() on array<App\Models\Game>|Illuminate\Support\Collection<int, App\Models\Game>.
|
Loading