From f21d2ce757432b88e7c29ec64badff9f04eeedd6 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Sun, 19 Jan 2014 03:44:33 +0400 Subject: [PATCH] Better phpdoc --- framework/db/BaseActiveRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/db/BaseActiveRecord.php b/framework/db/BaseActiveRecord.php index c8d199b2b4..ff16476b87 100644 --- a/framework/db/BaseActiveRecord.php +++ b/framework/db/BaseActiveRecord.php @@ -102,7 +102,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface * - an array of name-value pairs: query by a set of column values and return a single record matching all of them. * - null: return a new [[ActiveQuery]] object for further query purpose. * - * @return ActiveQuery|ActiveRecord|null When `$q` is null, a new [[ActiveQuery]] instance + * @return ActiveQuery|static|null When `$q` is null, a new [[ActiveQuery]] instance * is returned; when `$q` is a scalar or an array, an ActiveRecord object matching it will be * returned (null will be returned if there is no matching). * @throws InvalidConfigException if the AR class does not have a primary key