Closed SamMousa closed 5 years ago
Since PHP7.1, which is required in composer.json the iterable type hint is supported.
composer.json
iterable
Would you:
Or, if not 1:
array|Traversable
?
The master branch (which is the one that requires PHP 7.1) already has iterable type hints where possible (it was done in https://github.com/nikic/iter/pull/52), it's just not released yet.
Since PHP7.1, which is required in
composer.json
theiterable
type hint is supported.Would you:
Or, if not 1:
iterable
as an option in the PHPDoc (sincearray|Traversable
does not includeiterable
).?