intellisense and chaining

Another question I have is will I ever be able to get intelliense in this scenario?

$artist = new Zend_Form_Element_Text('artist');
$artist->setLabel('Artist')
->setRequired(true)
->addFilter('StripTags')
->addFilter('StringTrim')
->addValidator('NotEmpty');

the first ->setLabel has intellisence but nothing else in the chain does.

Best regards,

JD Smith

Comments

    Does SetLabel has a PhpDoc

    Does SetLabel has a PhpDoc comment with a return type? This is needed for chaining.

    /** * Set element

    /**
    * Set element label
    *
    * @param string $label
    * @return Zend_Form_Element
    */
    public function setLabel($label)
    {

    That doesn't seem to be the problem..

    Best regards,

    JD Smith
    Programmer
    Integrated Network Solutions