"Smart" route URLs caching (#119) #132
Annotations
5 errors and 1 warning
phpstan:
src/Commands/ClearRoutesCacheCommand.php#L38
Parameter #1 $page of method Z3d0X\FilamentFabricator\Services\PageRoutesService::updateUrlsOf() expects Illuminate\Database\Eloquent\Model&Z3d0X\FilamentFabricator\Models\Contracts\Page, Z3d0X\FilamentFabricator\Models\Contracts\Page given.
|
phpstan:
src/Http/Controllers/PageController.php#L27
Using nullsafe property access on non-nullable type Z3d0X\FilamentFabricator\Models\Contracts\Page. Use -> instead.
|
phpstan:
src/Services/PageRoutesService.php#L60
Method Z3d0X\FilamentFabricator\Services\PageRoutesService::getPageFromUri() should return (Illuminate\Database\Eloquent\Model&Z3d0X\FilamentFabricator\Models\Contracts\Page)|null but returns Illuminate\Database\Eloquent\Model|null.
|
phpstan:
src/Services/PageRoutesService.php#L114
Method Z3d0X\FilamentFabricator\Services\PageRoutesService::findPageOrFail() should return Illuminate\Database\Eloquent\Model&Z3d0X\FilamentFabricator\Models\Contracts\Page but returns Illuminate\Database\Eloquent\Model.
|
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
|