ClanCats / Hydrahon

🐉 Fast & standalone PHP MySQL Query Builder library.
https://clancats.io/hydrahon/master/
MIT License
278 stars 58 forks source link

Incorrect type hinting #31

Closed NickStallman closed 4 years ago

NickStallman commented 4 years ago

I'm using PhpStan over my project and it has highlighted some incorrect type hinting.

Specifically SelectBase's where() functions specify the $column must be a string, however it could be an array or a callable as well which makes PhpStan unhappy.

mario-deluna commented 4 years ago

Hey there, this took a while but I finally tackled this issue. The latest release added a lot of type hints and fixed some wrong ones. Just let me know if you run in other ones.