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
@@ -923,6 +923,10 @@ public function where($column, $operator = null, $value = null, $boolean = 'and'
923
923
}
924
924
}
925
925
926
+
if (func_num_args() == 1 && is_string($column)) {
927
+
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