This commit is contained in:
2023-12-18 23:17:26 +08:00
parent d2acc197da
commit 8174848de6
+2 -2
View File
@@ -725,11 +725,11 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq
/** /**
* @param string $column * @param string $column
* @param string $value * @param mixed $value
* @param string $opera * @param string $opera
* @return string * @return string
*/ */
private function sprintf(string $column, string $value, string $opera = '='): string private function sprintf(string $column, mixed $value, string $opera = '='): string
{ {
$this->pushParam($value); $this->pushParam($value);
return $column . ' ' . $opera . ' ?'; return $column . ' ' . $opera . ' ?';