ensure compatibility with type resolver 0.5

This commit is contained in:
Christian Flothmann 2019-09-16 10:02:06 +02:00
parent 1a9c6338f3
commit 4c70de6c8f

View File

@ -64,6 +64,11 @@ final class PhpDocTypeHelper
continue;
}
if ($type instanceof Nullable) {
$nullable = true;
$type = $type->getActualType();
}
$varTypes[] = $type;
}