改名
This commit is contained in:
@@ -727,10 +727,10 @@ trait QueryTrait
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array|callable $conditions
|
* @param callable|array|string $conditions
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function where(callable|array $conditions): static
|
public function where(callable|array|string $conditions): static
|
||||||
{
|
{
|
||||||
if ($conditions instanceof \Closure) {
|
if ($conditions instanceof \Closure) {
|
||||||
call_user_func($conditions, $this);
|
call_user_func($conditions, $this);
|
||||||
|
|||||||
Reference in New Issue
Block a user