Skip to content

Commit 5a7e108

Browse files
committed
Add comment on Builder::where polymorphic signature
1 parent f4e3f1b commit 5a7e108

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/Query/Builder.php

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,20 @@ public function convertKey($id)
953953
return $id;
954954
}
955955

956-
/** @inheritdoc */
956+
/**
957+
* Add a basic where clause to the query.
958+
*
959+
* If 1 argument, the signature is: where(array|Closure $where)
960+
* If 2 arguments, the signature is: where(string $column, mixed $value)
961+
* If 3 arguments, the signature is: where(string $colum, string $operator, mixed $value)
962+
*
963+
* @param Closure|string|array $column
964+
* @param mixed $operator
965+
* @param mixed $value
966+
* @param string $boolean
967+
*
968+
* @return $this
969+
*/
957970
public function where($column, $operator = null, $value = null, $boolean = 'and')
958971
{
959972
$params = func_get_args();

0 commit comments

Comments
 (0)