From af9462bd31d48916803954faca40e937432b3f1f Mon Sep 17 00:00:00 2001 From: Evgeniy Tkachenko Date: Thu, 11 Feb 2016 16:34:40 +0300 Subject: [PATCH] Update return phpDoc queryOne & queryScalar. --- framework/db/Command.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/db/Command.php b/framework/db/Command.php index e303e1986ed..0e398fe405a 100644 --- a/framework/db/Command.php +++ b/framework/db/Command.php @@ -367,7 +367,7 @@ public function queryAll($fetchMode = null) * This method is best used when only the first row of result is needed for a query. * @param integer $fetchMode the result fetch mode. Please refer to [PHP manual](http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php) * for valid fetch modes. If this parameter is null, the value set in [[fetchMode]] will be used. - * @return array|boolean the first row (in terms of an array) of the query result. False is returned if the query + * @return array|false the first row (in terms of an array) of the query result. False is returned if the query * results in nothing. * @throws Exception execution failed */ @@ -379,7 +379,7 @@ public function queryOne($fetchMode = null) /** * Executes the SQL statement and returns the value of the first column in the first row of data. * This method is best used when only a single value is needed for a query. - * @return string|null|boolean the value of the first column in the first row of the query result. + * @return string|null|false the value of the first column in the first row of the query result. * False is returned if there is no value. * @throws Exception execution failed */