Hello, today I installed the package and got an error
Declaration of Benjacho\BelongsToManyField\BelongsToManyField::jsonSerialize() must be compatible with Laravel\Nova\Fields\Field::jsonSerialize(): array
I solved this problem by adding to the jsonSerialize method of the BelongsToManyField class, return type of array
Hello, today I installed the package and got an error
I solved this problem by adding to the jsonSerialize method of the BelongsToManyField class, return type of array
public function jsonSerialize(): array