From b6db8388c1402c374566021860db2f381415ae7a Mon Sep 17 00:00:00 2001 From: Tigrov Date: Tue, 20 Aug 2024 18:18:54 +0700 Subject: [PATCH] Revert "return object" for `CommandInterface` --- src/Command/CommandInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/CommandInterface.php b/src/Command/CommandInterface.php index 269855e24..a10748f90 100644 --- a/src/Command/CommandInterface.php +++ b/src/Command/CommandInterface.php @@ -651,7 +651,7 @@ public function queryColumn(): array; * * @return array|null The first row as an `array` of the query result. `null` if the query results in nothing. */ - public function queryOne(): array|object|null; + public function queryOne(): array|null; /** * Execute the SQL statement and returns the value of the first column in the first row of data.