Skip to content

Fix PHPStan (#201) #142

Fix PHPStan (#201)

Fix PHPStan (#201) #142

Triggered via push January 1, 2025 07:10
Status Failure
Total duration 55s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
phpstan: src/Services/PageRoutesService.php#L184
Parameter #1 $callback of method Illuminate\Support\Collection<int,Illuminate\Database\Eloquent\Model>::mapWithKeys() expects callable(Illuminate\Database\Eloquent\Model, int): array<int|string, array<string>>, Closure(Z3d0X\FilamentFabricator\Models\Contracts\Page): non-empty-array<int|string, array<string>> given.
phpstan: src/Services/PageRoutesService.php#L188
No error to ignore is reported on line 188.
phpstan
Process completed with exit code 1.
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636