Skip to content

Commit

Permalink
chore: stricten types on whereNot
Browse files Browse the repository at this point in the history
  • Loading branch information
kauffinger committed Dec 2, 2024
1 parent 8a60c1c commit cc77d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public function where(string $column, mixed $operator, mixed $value = null): sta
return $this;
}

public function whereNot(string $column, mixed $value): static
public function whereNot(string $column, int|string $value): static
{
return $this->where($column, '!=', $value);
}
Expand Down

0 comments on commit cc77d11

Please sign in to comment.