Skip to content

[rector] Rector fixes #10

[rector] Rector fixes

[rector] Rector fixes #10

Triggered via push September 16, 2024 19:56
Status Failure
Total duration 1m 0s
Artifacts

analyse.yml

on: push
moonshine-analyse
49s
moonshine-analyse
Fit to window
Zoom out
Zoom in

Annotations

4 errors
moonshine-analyse: src/Laravel/src/Resources/ModelResource.php#L74
Method MoonShine\Laravel\Resources\ModelResource::getCaster() should return MoonShine\Laravel\TypeCasts\ModelCaster<TData of Illuminate\Database\Eloquent\Model> but returns MoonShine\Laravel\TypeCasts\ModelCaster<Illuminate\Database\Eloquent\Model>.
moonshine-analyse: src/Laravel/src/TypeCasts/ModelCaster.php#L46
Method MoonShine\Laravel\TypeCasts\ModelCaster::cast() should return MoonShine\Laravel\TypeCasts\ModelDataWrapper<T of Illuminate\Database\Eloquent\Model> but returns MoonShine\Laravel\TypeCasts\ModelDataWrapper<Illuminate\Database\Eloquent\Model>.
moonshine-analyse: src/UI/src/Collections/Fields.php#L103
Method MoonShine\UI\Collections\Fields::unwrapElements() should return static(MoonShine\UI\Collections\Fields<T of MoonShine\Contracts\UI\FieldContract>) but returns Illuminate\Support\Collection<*NEVER*, *NEVER*>.
moonshine-analyse
Process completed with exit code 1.