Open
Description
I ran phpdox for a Symfony 4.3 project, got an error for src/Kernel.php, "Unexpected return type definition PhpParser\Node\Identifier [UnitCollectingVisitor.php:299]".
Symfony 4.3 uses strict return types now. Only suspicious return type on the file was 'iterable'. Seems like phpdox's UnitCollectingVisitor->processMethodReturnType()
doesn't handle the 'iterable' types.
PHP Manual for Iterable type