From 5e9015c89a19bc7be56d82f491c55b1bb7b45f74 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Mon, 7 Apr 2014 20:07:25 -0400 Subject: [PATCH] Fixes #2968. --- framework/db/Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/db/Command.php b/framework/db/Command.php index 8c8eb08628..9d378b6f76 100644 --- a/framework/db/Command.php +++ b/framework/db/Command.php @@ -335,7 +335,7 @@ class Command extends \yii\base\Component /** * 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|boolean the value of the first column in the first row of the query result. + * @return string|null|boolean 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 */