basemkhirat / elasticsearch

The missing elasticsearch ORM for Laravel, Lumen and Native php applications
MIT License
401 stars 130 forks source link

Correct some annotations #108

Closed MarkVaughn closed 4 years ago

MarkVaughn commented 5 years ago

The id function should be taking strings/int/float. Not sure why bool is default but this is fine. Also returning the Model helps IDEs like PHPstorm