Skip to content

Commit b039768

Browse files
authored
Merge pull request buildwithyab#74 from DariusIII/patch-1
Add missing $results variable to map function declaration
2 parents 7d1ad11 + 7450be6 commit b039768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Engines/MySQLEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function paginate(Builder $builder, $perPage, $page)
116116
*
117117
* @return Collection
118118
*/
119-
public function map(Builder $builder, $model)
119+
public function map(Builder $builder, $results, $model)
120120
{
121121
return $results['results'];
122122
}

0 commit comments

Comments
 (0)