Skip to content

Commit a7746f5

Browse files
committed
resolve reintroduced variant of 12778
1 parent 6487002 commit a7746f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Type/Php/PropertyExistsTypeSpecifyingExtension.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ public function specifyTypes(
6868

6969
$hasPropertyTypes = [];
7070
foreach ($propertyNameTypes as $propertyNameType) {
71+
if($propertyNameType->getValue() === '') {
72+
return new SpecifiedTypes([], []);
73+
}
74+
7175
$hasPropertyTypes[] = new HasPropertyType($propertyNameType->getValue());
7276
}
7377

0 commit comments

Comments
 (0)