This commit is contained in:
2021-10-09 16:25:38 +08:00
parent edc48f5dd2
commit 4e145cd143
+2 -2
View File
@@ -139,10 +139,10 @@ class Command extends Component
/**
* @param $type
* @return array|int
* @return array|int|bool|null
* @throws Exception
*/
private function search($type): array|int
private function search($type): array|int|bool|null
{
$pdo = $this->db->getConnect($this->sql);
if ($type === static::FETCH_COLUMN) {