I have a class that return a collection
public function getCustomers() : Collection;
When I loop the result, the PHPSTORM IDE won't know what's inside the collection.
in .NET/JAVA you will write
public <List<Customer>> getCustomers();
then the IDE will knows whats inside the collection and know how to complete/hint that.
Is there any trick to ontroduce that that to PHPSTORM?
Thanks
via Shazam