bug #33588 [PropertyInfo] ensure compatibility with type resolver 0.5 (xabbuh)

This PR was merged into the 4.3 branch.

Discussion
----------

[PropertyInfo] ensure compatibility with type resolver 0.5

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Commits
-------

4c70de6c8f ensure compatibility with type resolver 0.5
This commit is contained in:
Fabien Potencier 2019-09-16 10:45:09 +02:00
commit bafe10adc3

View File

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