Skip to content

Commit 9174e02

Browse files
craigfrancisondrejmirtes
authored andcommitted
Add 'literal-string' as a basic StringType()
1 parent 3b17c0e commit 9174e02

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/PhpDoc/TypeNodeResolver.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ private function resolveIdentifierTypeNode(IdentifierTypeNode $typeNode, NameSco
146146
case 'string':
147147
return new StringType();
148148

149+
case 'literal-string':
150+
return new StringType();
151+
149152
case 'class-string':
150153
return new ClassStringType();
151154

0 commit comments

Comments
 (0)