Commit 5f280898 authored by Bert Balcaen's avatar Bert Balcaen
Browse files

Fixing compatibility with Scout 6.

parent 4d67a73f
......@@ -121,10 +121,11 @@ class SolrEngine extends Engine
* Map the given results to instances of the given model.
* @param \Solarium\QueryType\Select\Result\Result $results
* @param \Laravel\Scout\Builder $builder
* @param \Illuminate\Database\Eloquent\Model $model
* @return \Illuminate\Database\Eloquent\Collection
public function map($results, $model)
public function map($builder, $results, $model)
$eloquentResults = [];
$modelClass = get_class($model);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment