From 6af05ef12e4c618d41b27253401a5de6f76a4eca Mon Sep 17 00:00:00 2001 From: Manash Sonowal Date: Tue, 16 Oct 2018 16:08:04 +0530 Subject: [PATCH] Update MySQLEngine.php --- src/Engines/MySQLEngine.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Engines/MySQLEngine.php b/src/Engines/MySQLEngine.php index f3a9e39..348fba0 100644 --- a/src/Engines/MySQLEngine.php +++ b/src/Engines/MySQLEngine.php @@ -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']; }