Skip to content

Commit

Permalink
TypeNodeResolver - lowercase-string and non-empty-lowercase-string ar…
Browse files Browse the repository at this point in the history
…e known
  • Loading branch information
ondrejmirtes committed Jan 2, 2023
1 parent 463995c commit 884ceb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PhpDoc/TypeNodeResolver.php
Expand Up @@ -189,6 +189,7 @@ private function resolveIdentifierTypeNode(IdentifierTypeNode $typeNode, NameSco
return IntegerRangeType::fromInterval(0, null);

case 'string':
case 'lowercase-string':
return new StringType();

case 'literal-string':
Expand Down Expand Up @@ -246,6 +247,7 @@ private function resolveIdentifierTypeNode(IdentifierTypeNode $typeNode, NameSco
]);

case 'non-empty-string':
case 'non-empty-lowercase-string':
return new IntersectionType([
new StringType(),
new AccessoryNonEmptyStringType(),
Expand Down

0 comments on commit 884ceb0

Please sign in to comment.