Skip to content

Commit 0d01465

Browse files
authored
Fix 2.2.x build after f2af15b (#5690)
1 parent 6a10956 commit 0d01465

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Type/Accessory/AccessoryDecimalIntegerStringType.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,11 @@ public function getFiniteTypes(): array
456456
return [];
457457
}
458458

459+
public function getDefaultBaseType(): Type
460+
{
461+
return new StringType();
462+
}
463+
459464
public function toPhpDocNode(): TypeNode
460465
{
461466
return new IdentifierTypeNode($this->inverse ? 'non-decimal-int-string' : 'decimal-int-string');

0 commit comments

Comments
 (0)