mirror of
https://github.com/rectorphp/rector.git
synced 2025-04-22 00:12:29 +02:00
Fix NameTypeResolver@resolveFullyQualifiedName return type
This commit is contained in:
parent
6c8761c7e8
commit
1673949cef
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user