Override autocomplete not completing type hints

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Override autocomplete not completing type hints

Postby BladeMF » April 18th, 2015, 7:42 am

When I have a function in a base class with signature
Code: Select all
function FunctionA(TypeA $Param1){}

and I override it in a inheriting class, I get this wonderful autocomplete, but then I get this signature:
Code: Select all
function FunctionA($Param1){}

which the PHP doesn't like because both signatures are different and I get a warning.

While this feature is great, it needs to complete the type hint.
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: Override autocomplete not completing type hints

Postby Jakub Misek » April 22nd, 2015, 3:36 pm

Hi,

Thanks for giving us know. This should be fixed in the next update.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 32 guests

cron

User Control Panel

Login

Who is online

In total there are 32 users online :: 0 registered, 0 hidden and 32 guests (based on users active over the past 5 minutes)
Most users ever online was 399 on April 19th, 2024, 11:49 pm

Users browsing this forum: No registered users and 32 guests