From 90caa527f21e31e6fe6beba21f18910cb30179c0 Mon Sep 17 00:00:00 2001 From: Evgeniy Tkachenko Date: Wed, 2 Apr 2014 17:00:39 +0300 Subject: [PATCH] Update ActiveRecord.php fix for https://github.com/yiisoft/yii2/pull/2958 --- framework/db/ActiveRecord.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework/db/ActiveRecord.php b/framework/db/ActiveRecord.php index bb9463aea7..324ab1b7c1 100644 --- a/framework/db/ActiveRecord.php +++ b/framework/db/ActiveRecord.php @@ -69,6 +69,9 @@ use yii\helpers\StringHelper; * * For more details and usage information on ActiveRecord, see the [guide article on ActiveRecord][guide-active-record]. * + * @method ActiveQuery hasMany(string $class, array $link) see BaseActiveRecord::hasMany() for more info + * @method ActiveQuery hasOne(string $class, array $link) see BaseActiveRecord::hasOne() for more info + * * @author Qiang Xue * @author Carsten Brandt * @since 2.0