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:
commit
bafe10adc3
@ -64,6 +64,11 @@ final class PhpDocTypeHelper
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($type instanceof Nullable) {
|
||||
$nullable = true;
|
||||
$type = $type->getActualType();
|
||||
}
|
||||
|
||||
$varTypes[] = $type;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user