Skip to content

Commit

Permalink
Remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
pmatseykanets committed Sep 13, 2020
1 parent 08b516f commit 5ba42ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PostgresEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ public function map(Builder $builder, $results, $model)

return $results->pluck($model->getKeyName())
->intersect($models->keys()) // Filter out no longer existing models (i.e. soft deleted)
->map(function ($key) use ($model, $models) {
->map(function ($key) use ($models) {
return $models[$key];
});
}
Expand Down

0 comments on commit 5ba42ba

Please sign in to comment.