1
0
Fork 0

Fix string case

pull/292/head
Felix Becker 2017-02-11 10:18:43 +01:00 committed by GitHub
parent cbc6966c92
commit c3debf4494
1 changed files with 1 additions and 1 deletions

View File

@ -708,7 +708,7 @@ class DefinitionResolver
{
if (is_string($node)) {
// Resolve a string like "bool" to a type object
return $this->typeResolver->resolve($node->returnType);
return $this->typeResolver->resolve($node);
}
if ($node instanceof Node\Name) {
return new Types\Object_(new Fqsen('\\' . (string)$node));