Closed
Description
When using a custom search method: function (Client $client, Search $search)
you'll get a TypeError:
Matchish\\ScoutElasticSearch\\ElasticSearch\\EloquentHitsIteratorAggregate::__construct(): Argument #1 ($results) must be of type array, Elastic\\Elasticsearch\\Response\\Elasticsearch given