Methods
createInstance() Line 30
Symfony's !tagged helper expression returns an iterable object; but the FileFactory requires an array.
publicstaticcreateInstance(NodesFactory $nodesFactory, \IteratorAggregate<\phpDocumentor\Reflection\Middleware\Middleware> $middlewares) : File
This means that we need to unpack the middlewares iterable first as a plain array in this factory.