ensure compatibility with type resolver 0.5
This commit is contained in:
parent
1a9c6338f3
commit
4c70de6c8f
@ -64,6 +64,11 @@ final class PhpDocTypeHelper
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($type instanceof Nullable) {
|
||||||
|
$nullable = true;
|
||||||
|
$type = $type->getActualType();
|
||||||
|
}
|
||||||
|
|
||||||
$varTypes[] = $type;
|
$varTypes[] = $type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user