[PR][php-langspec][#179] - Implement PHP RFC: Iterable
[email protected] Fri, 02 Dec 2016 10:44:57 +0000
| Newsgroups | php.standards |
|---|---|
| Message-ID | <[email protected]> |
You can view the Pull Request on github: https://github.com/php/php-langspec/pull/179 Comment by nikic: What we could additionally specify are the variance rules of `iterable` (e.g., in a return type you can replace it with `array` or `Traversable`). However, if we don't specify variance for the rest, it's fine as-is.