You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 22, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: src/Query/Builder.php
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -940,6 +940,10 @@ public function where($column, $operator = null, $value = null, $boolean = 'and'
940
940
}
941
941
}
942
942
943
+
if (func_num_args() == 1 && is_string($column)) {
944
+
thrownew \ArgumentCountError(sprintf('Too few arguments to function %s("%s"), 1 passed and at least 2 expected when the 1st is a string.', __METHOD__, $column));
0 commit comments