From c0ff5be651b64df3d55b9d308b7c52df9bdd44b4 Mon Sep 17 00:00:00 2001 From: whwyy Date: Mon, 18 Dec 2023 23:14:52 +0800 Subject: [PATCH] eee --- SqlBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SqlBuilder.php b/SqlBuilder.php index f25811c..6c11bca 100644 --- a/SqlBuilder.php +++ b/SqlBuilder.php @@ -370,7 +370,7 @@ class SqlBuilder extends Component * @param mixed $condition * @return string */ - private function resolveCondition(string $field, mixed $condition): string + private function resolveCondition(string|int $field, mixed $condition): string { if (is_string($field)) { $this->query->pushParam($condition);