ElasticsearchDSL
ElasticsearchDSL copied to clipboard
Search::setSource() now has a wrong phpdoc for the $source argument
For some reason, you've changed the correct @param array|bool|string $source
to be @param bool $source
in setSource() and now I'm getting warnings in PhpStorm when I pass an array to it.
https://github.com/ongr-io/ElasticsearchDSL/commit/48df0dcceb3e910617a348e8f70f0b7c7eaa7523#diff-e2ebe118f1e8dc3ba0a0e79a061a15ffL535