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

Commit

Permalink
Merge pull request #74 from DariusIII/patch-1
Browse files Browse the repository at this point in the history
Add missing $results variable to map function declaration
  • Loading branch information
msonowal authored Oct 17, 2018
2 parents 7d1ad11 + 7450be6 commit b039768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engines/MySQLEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function paginate(Builder $builder, $perPage, $page)
*
* @return Collection
*/
public function map(Builder $builder, $model)
public function map(Builder $builder, $results, $model)
{
return $results['results'];
}
Expand Down

0 comments on commit b039768

Please sign in to comment.