I found a way to tell the type of the netbeans variable like this:
/* @var $variablename Type */
However, in this case there are no hints (the database is my class):
//model.php abstract class Model { /* @var $db Database */ protected $db; (...) } //Mymodel.php class MyModel extends Model { (...) $this->db-> //no hints (...) }
Is Netbeans a limitation, or rather, my mistake?
source share