Skip to content

Commit c7911ae

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: ensure compatibility with type resolver 0.5
2 parents 9a019d7 + bafe10a commit c7911ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Component/PropertyInfo/Util/PhpDocTypeHelper.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ public function getTypes(DocType $varType): array
6464
continue;
6565
}
6666

67+
if ($type instanceof Nullable) {
68+
$nullable = true;
69+
$type = $type->getActualType();
70+
}
71+
6772
$varTypes[] = $type;
6873
}
6974

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy