nvlad / yii2support

Yii2 Support for PhpStorm / IntelliJ IDEA
https://plugins.jetbrains.com/idea/plugin/9388-yii2-support
Other
295 stars 54 forks source link

Feature request: Attribute autocomplete for all method when I have overwritten model class #231

Open taobig opened 5 years ago

taobig commented 5 years ago

What steps will reproduce the problem?

/**
 * This is the model class for table "{{%employee}}".
 *
 * @property int $id
 * @property string $account username
 * ...
 */
abstract class UserEntity extends BaseModel{
...
}

class User extends UserEntity{
}

Employee::find()->where(['id']);//Attribute autocomplete for "where" is invalid.

What is the expected result?

What do you get instead?

Additional info

Q A
IDE Name PhpStorm
IDE Version
Plugin version v0.10.57.23
Yii App Template basic / advanced