From dbb54f986c766469b5c8bcc42584d1f843e62c3d Mon Sep 17 00:00:00 2001 From: Evgeniy Tkachenko Date: Wed, 25 May 2016 09:14:31 +0300 Subject: [PATCH] Updated phpDoc of scalar --- framework/db/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/db/Query.php b/framework/db/Query.php index 2c099c0aac..2bf9bf1383 100644 --- a/framework/db/Query.php +++ b/framework/db/Query.php @@ -252,7 +252,7 @@ class Query extends Component implements QueryInterface * The value returned will be the first column in the first row of the query results. * @param Connection $db the database connection used to generate the SQL statement. * If this parameter is not given, the `db` application component will be used. - * @return string|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 the query result is empty. */ public function scalar($db = null)