Lupennat / nova-expandable-many

Laravel Nova Expandable Many
MIT License
4 stars 3 forks source link

Fix type issue #4

Closed mathieufrh closed 6 months ago

mathieufrh commented 6 months ago

Fix the following error:

Declaration of Lupennat\ExpandableMany\HasExpandableMany::indexFields(Laravel\Nova\Http\Requests\NovaRequest $request) must be compatible with App\Nova\Resource::indexFields(Laravel\Nova\Http\Requests\NovaRequest $request): Laravel\Nova\Fields\FieldCollection
Lupennat commented 6 months ago

The original method is in the trait \Laravel\Nova\ResolvesFields.

Laravel nova does not define a return type for this method, what version of Nova are you using?