Commit ac12f9ec by Qiang Xue

Merge pull request #2962 from githubjeka/patch-1

add @method hasOne|hasMany declaration in yii\db\ActiveRecord.
parents ada39df6 90caa527
...@@ -69,6 +69,9 @@ use yii\helpers\StringHelper; ...@@ -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]. * 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 <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment