Override autocomplete not completing type hints
2 posts
• Page 1 of 1
Override autocomplete not completing type hints
When I have a function in a base class with signature
and I override it in a inheriting class, I get this wonderful autocomplete, but then I get this signature:
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.
- 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
Hi,
Thanks for giving us know. This should be fixed in the next update.
Thanks for giving us know. This should be fixed in the next update.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 32 guests