Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Update MySQLEngine.php
Browse files Browse the repository at this point in the history
  • Loading branch information
msonowal authored Oct 16, 2018
1 parent d243de0 commit 6af05ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Engines/MySQLEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ public function paginate(Builder $builder, $perPage, $page)
/**
* Map the given results to instances of the given model.
*
* @param mixed $results
* @param Laravel\Scout\Builder $builder
* @param \Illuminate\Database\Eloquent\Model $model
*
* @return Collection
*/
public function map($results, $model)
public function map(Builder $builder, $model)
{
return $results['results'];
}
Expand Down

0 comments on commit 6af05ef

Please sign in to comment.