Closed insekticid closed 1 year ago
https://github.com/jolicode/elastically/blob/a116efb71eb81576bf21efab32ea6d0bbaf9b57d/src/Indexer.php#L42
These three methods Indexer::scheduleIndex(), scheduleUpdate(), scheduleCreate() have the same code , respect DRY principe and refactor this code
Hello,
Thanks for your feedback.
We are fine with the current code. But If you want to contribute, feel free to open a PR.
In the meantime, I'll close this issue because it does not bring anything useful.
https://github.com/jolicode/elastically/blob/a116efb71eb81576bf21efab32ea6d0bbaf9b57d/src/Indexer.php#L42
These three methods Indexer::scheduleIndex(), scheduleUpdate(), scheduleCreate() have the same code , respect DRY principe and refactor this code