Skip to content

Refactor

Refactor #21

Triggered via push November 28, 2024 10:26
Status Failure
Total duration 58s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors
phpstan: src/Resources/MediaResource.php#L42
Expression on left side of ?? is not nullable.
phpstan: src/Resources/MediaResource.php#L67
Method Vormkracht10\MediaPicker\Resources\MediaResource::getNavigationBadge() should return string|null but returns int.
phpstan: src/Resources/MediaResource.php#L68
Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
phpstan: src/Resources/MediaResource/EditMedia.php#L26
Cannot access property $url on Illuminate\Database\Eloquent\Model|int|string.
phpstan
Process completed with exit code 1.