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

Commit 6af05ef

Browse files
authored
Update MySQLEngine.php
1 parent d243de0 commit 6af05ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Engines/MySQLEngine.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ public function paginate(Builder $builder, $perPage, $page)
9898
/**
9999
* Map the given results to instances of the given model.
100100
*
101-
* @param mixed $results
101+
* @param Laravel\Scout\Builder $builder
102102
* @param \Illuminate\Database\Eloquent\Model $model
103103
*
104104
* @return Collection
105105
*/
106-
public function map($results, $model)
106+
public function map(Builder $builder, $model)
107107
{
108108
return $results['results'];
109109
}

0 commit comments

Comments
 (0)