This commit is contained in:
2022-12-12 15:04:11 +08:00
parent 707e13609f
commit 78200ebffd
3 changed files with 10 additions and 16 deletions
+2 -2
View File
@@ -780,11 +780,11 @@ trait QueryTrait
}
/**
* @param array $params
* @param array|null $params
*
* @return $this
*/
public function bindParams(array $params = []): static
public function bindParams(?array $params = []): static
{
if (empty($params)) {
return $this;