[rector] Rector fixes #10
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.
|