Filament - Laravel Model compatibility issue and error
Error when I try to implement
But
protected function handleRecordUpdate(Model $record, array $data): Model for my EditEntity class which extends EditRecord:App\Models\MyModel must be compatible with Filament\Resources\Pages\EditRecord::handleRecordUpdate(Illuminate\Database\Eloquent\Model $record, array $data): Illuminate\Database\Eloquent\Model.But
MyModel is already extending BaseModel which in turn extends the Illuminate\Database\Eloquent\Model, so how do I fix this ?