Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325068

Summary: phpDoc @property tag not working.
Product: z_Archived Reporter: andsky <andsky888>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED FIXED QA Contact: Ilina Stefanova <ilina.s>
Severity: normal    
Priority: P3 CC: ganoro, kalin.a
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:

Description andsky CLA 2010-09-13 01:48:11 EDT
Build Identifier: I20100608-0911

<?php
/**
 * test
 * Enter description here ...
 * @author Administrator
 * @property T $t
 *
 */
class test {

    function __set($name,$value)
    {
        return $this->$name = $value;
    }

    public function yes()
    {
        $this->t->test();
        //OK
    }
}

class T {
    function test()
    {
        return false;
    }
}

class notWork extends test{

    function not()
    {
        $this->t->
        //Typing in $t-> does not tell me about the test method.
    }
}



?>

Reproducible: Always
Comment 1 Roy Ganor CLA 2010-09-16 06:58:34 EDT
fixed already in branch/head  (I can't remember the original bug but you will be able to see it fixed in next releases)
Comment 2 Kalin CLA 2011-08-02 10:41:31 EDT
Verified.
Closing...