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.