Wouldn't the simple solution be:
/** @var $stream Item[] */
foreach ($stream as $item) {
/* ... */
}
On Tuesday, October 16, 2018 at 2:02:21 PM UTC-5, Alan Gabriel Bem wrote:
>
> I think you missed my point - What I want to achieve is to *annotate*
> somehow that *Stream* is *iterable* over
Hello everyone,
Over the last few weeks, I blew the dust off of many leftover conversations
from PSR-5's first effort, housed in a fork of the FIG repo that lived in
the phpDocumentor organization [1]. There were lots of old discussions on
Issues and Pull Requests there. I was able to stir up so