Skip to content

Commit

Permalink
Pass as array for easier testing
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgaal committed Mar 29, 2022
1 parent d69cf31 commit e720511
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ public function whereBelongsToOneOf($values, $relationshipName = null, $boolean

$this->whereIn(
$relationship->getQualifiedForeignKeyName(),
$values->pluck($relationship->getOwnerKeyName()),
$values->pluck($relationship->getOwnerKeyName())->toArray(),
$boolean,
);

Expand Down

0 comments on commit e720511

Please sign in to comment.