You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, at the moment the plugin doesn't try to figure out object attribute types from direct assignment.
What you might be able to do in your example, is that if the $model variable's type is detectable by the plugin you can set up an type-annotated attribute in that class's definition and then it will be inferred from there.
So something like:
Class MyModel {
/** * model * * @var MyModel */public$model;
}
$model = newMyModel();
$model->model-> // should work here.
I guess your situation is more dynamic here so this might not apply. I'll have to look into how this could be implemented.
If member variables are objects, completion does not seem to work on them. Simply
The text was updated successfully, but these errors were encountered: