| Summary: | [Content Assist] constructor method should not be proposed by code assist | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Roy Ganor <ganoro> |
| Component: | PDT | Assignee: | Zhongwei Zhao <zhaozhongwei> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | petyo_tanchev |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
fixed in head and branch there is one case I have not fixed: we can call superclass' constructor in any of subclass' method fixed in head and branch Tested on 2.2.1.v20100829 Fixed |
Code: class person { private $name; function __construct($name) { $this->setName($name); } /** * @return the $name */ public function getName() { return $this->name; } /** * @param field_type $name */ public function setName($name) { $this->name = $name; } } $x = new person("gadi"); echo $x->| should not show constructor