"Referenced field not found in subject class" setup for Data Sources?
I have a database class which handles queries for a single table.
The queries are returned as objects, in the calling method it results in the warning "Field <name> not found in class <db-class>", "Referenced field not found in subject class"
I understand you can use the tag @property in the database class which will remove the warning and that's great.
What I would like to know if it's possible to create the @property tags from the table, just like PHPStorm creates the PHPDoc for a method and automatically fills in the @param tag, if needed.
I have setup the Data Sources in PHPStorm.
OS: Linux
PHPStorm: EAP PS-138.567.
Peter
请先登录再写评论。