Declaration of Nakukryskin\OrchidRepeaterField\Fields\Repeater::make(?string $name = NULL): Nakukryskin\OrchidRepeaterField\Fields\Repeater must be compatible with Orchid\Screen\Field::make(?string $name = NULL): Orchid\Screen\Field
I found out that return type of overriden function "make" inside Repeater.php is self (Repeater) but from trait Makeable is Field, and then these mis causing those error,
Proposed Changes
Change return type of "make" function from self to Field
Hi,
i encountered FatalError like this :
Declaration of Nakukryskin\OrchidRepeaterField\Fields\Repeater::make(?string $name = NULL): Nakukryskin\OrchidRepeaterField\Fields\Repeater must be compatible with Orchid\Screen\Field::make(?string $name = NULL): Orchid\Screen\Field
I found out that return type of overriden function "make" inside Repeater.php is self (Repeater) but from trait Makeable is Field, and then these mis causing those error,
Proposed Changes