Skip to content

Commit 0653f1f

Browse files
committed
Use orWhere
1 parent 76e7bd0 commit 0653f1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Query/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ public function whereNotContains(string $attribute, string $value): static
929929
*/
930930
public function whereIn(string $attribute, array $values): static
931931
{
932-
return $this->orFilter(function (Builder $query) use ($attribute, $values) {
932+
return $this->orWhere(function (Builder $query) use ($attribute, $values) {
933933
foreach ($values as $value) {
934934
$query->whereEquals($attribute, $value);
935935
}

0 commit comments

Comments
 (0)