Community
Participate
Working Groups
Build Identifier: 20100618-0524 If you have class C11 that extends class C1 that extends class C and class C has contructor (__construct method) with mandatory parameter and class C1 has constructor with all parameters are optional and class C11 has no constructor at all then auto-completed class for 'new' construction will produce placeholder for mandatory parameter of the class C. Reproducible: Always Steps to Reproduce: 1. Suppose we have PHP code: class TestBase { public function __construct($name, $value = "") { } } class TestChild extends TestBase { public function __construct($name = "") { } } class TestChild2 extends TestChild { } $test = new TestChild2<here one press Ctrl+Space to auto-complete > 2. It will be auto-completed to: $test = new TestChild2($name) while it should be: $test = new TestChild2()
fixed in both head and branch
zhaozhongwei, how can I get the update to my Helios? I've tried to get updates but my version is up to date.
I think this only works in the nightly build version:(
Tested on 2.2.1 SR1 Verified - OK