ruflin / Elastica

Elastica is a PHP client for elasticsearch
http://elastica.io/
MIT License
2.26k stars 736 forks source link

Specify some iterable types #2092

Closed franmomu closed 2 years ago

franmomu commented 2 years ago

There are quite array types in the code, the idea is to be more specific about what types are holding, but I guess most of them are array<string, mixed>, we could maybe be more specific in some cases like AbstractSuggestion:: setRegexOptions().