Skip to content

Commit b87f826

Browse files
author
Burak Hamza
committed
fix: hot fix
1 parent aab5cef commit b87f826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function select($columns = ['*'])
124124
*/
125125
public function where($column, $operator = null, $value = null, $boolean = 'and')
126126
{
127-
if (!in_array(strtolower($operator), $this->operators, true)) {
127+
if (is_string($operator) && !in_array(strtolower($operator), $this->operators, true)) {
128128
list($value, $operator) = [$operator, '='];
129129
}
130130

0 commit comments

Comments
 (0)