This commit is contained in:
2023-08-14 18:56:45 +08:00
parent 0a567634d6
commit 4a51a8a336
5 changed files with 22 additions and 3 deletions
+2 -2
View File
@@ -108,10 +108,10 @@ class Command extends Component
}
/**
* @return bool|array|null
* @return mixed
* @throws Exception
*/
public function fetchColumn(): null|bool|array
public function fetchColumn(): mixed
{
try {
return $this->prepare()->fetchColumn(PDO::FETCH_ASSOC);