Fix NameTypeResolver@resolveFullyQualifiedName return type

This commit is contained in:
Ravan Scafi 2019-07-05 17:42:05 -03:00
parent 6c8761c7e8
commit 1673949cef
No known key found for this signature in database
GPG Key ID: AEF6B7132F696737

View File

@ -42,7 +42,7 @@ final class NameTypeResolver implements PerNodeTypeResolverInterface
return [$fullyQualifiedName];
}
private function resolveFullyQualifiedName(Node $nameNode, string $name): ?string
private function resolveFullyQualifiedName(Node $nameNode, string $name): string
{
if (in_array($name, ['self', 'static', 'this'], true)) {
/** @var string|null $class */