add @method hasOne|hasMany declaration in yii\db\ActiveRecord. 

resolves https://github.com/yiisoft/yii2/pull/2958