If you use variables as objects, you can create a fake empty class with properties and phpDOC for each property , declare an object of this class, and netbeans will autocomplete properties (object keys).
<?php namespace Models\Geo; class GeoNamesResult { } ?>
Then in netbeans code
<?php $obj->
Of course, if the function returns $ obj and has phpDoc @return, there is no need to use the @var comment
source share