Skip to content

Commit

Permalink
Chain values method in map function
Browse files Browse the repository at this point in the history
refer to my pull request in ErickTamayo/laravel-scout-elastic#66
  • Loading branch information
xcaptain authored Jul 2, 2017
1 parent 5ac3009 commit 3f2df36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engines/AlgoliaEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function map($results, $model)
if (isset($models[$key])) {
return $models[$key];
}
})->filter();
})->filter()->values();
}

/**
Expand Down

0 comments on commit 3f2df36

Please sign in to comment.