Skip to content

Commit 7450be6

Browse files
authored
Add missing $results variable to map function declaration
1 parent fc2418d commit 7450be6

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
@@ -112,7 +112,7 @@ public function paginate(Builder $builder, $perPage, $page)
112112
*
113113
* @return Collection
114114
*/
115-
public function map(Builder $builder, $model)
115+
public function map(Builder $builder, $results, $model)
116116
{
117117
return $results['results'];
118118
}

0 commit comments

Comments
 (0)