We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ed90f commit 0068b34Copy full SHA for 0068b34
src/Ast/AstVisitor.php
@@ -52,7 +52,7 @@ private function createSingleType(
52
? $param->parts[0]
53
: $param->name;
54
55
- if ($typeName === 'array' && $docComment) {
+ if (($typeName === 'array' || $typeName === 'iterable' || $typeName === 'mixed') && $docComment) {
56
$docBlockType = $this->parseArrayType($docComment);
57
if ($docBlockType) {
58
return SingleType::list($docBlockType);
0 commit comments