phpDocumentor / fig-standards

Standards either proposed or approved by the Framework Interop Group
http://www.php-fig.org/
Other
361 stars 85 forks source link

Add iterable pseudo-type #141

Closed zonuexe closed 5 years ago

zonuexe commented 7 years ago

iterable pseudo-type is added in PHP 7.1. see http://php.net/manual/en/migration71.new-features.php

I propose to add iterable into Appendix A. Types.

teohhanhui commented 7 years ago

It should also be valid to write iterable<string>, iterable<int, string> etc.

ashnazg commented 5 years ago

I think this is legit...

neuro159 commented 5 years ago

PhpStorm has support for iterable for about 2 years https://youtrack.jetbrains.com/issue/WI-32378

as to type parametrisation... IMO this topic desires very special discussion.

ashnazg commented 5 years ago

PR #163 issued for this.