@@ -18,7 +18,6 @@ |
||
18 | 18 | use ReflectionFunction; |
19 | 19 | use Roave\BetterReflection\Identifier\Exception\InvalidIdentifierName; |
20 | 20 | use Roave\BetterReflection\Reflector\ClassReflector; |
21 | -use Roave\BetterReflection\Reflector\Exception\IdentifierNotFound; |
|
22 | 21 | use Roave\BetterReflection\Reflector\FunctionReflector; |
23 | 22 | use function array_key_exists; |
24 | 23 | use function array_values; |
@@ -91,9 +91,6 @@ |
||
91 | 91 | * @param callable[] $patchers List of closures which can alter the content of the files being |
92 | 92 | * scoped. |
93 | 93 | * @param Whitelist $whitelist List of classes that will not be scoped. |
94 | - * @param Closure $globalNamespaceWhitelisters Closure taking a class name from the global namespace as an argument and |
|
95 | - * returning a boolean which if `true` means the class should be scoped |
|
96 | - * (i.e. is ignored) or scoped otherwise. |
|
97 | 94 | */ |
98 | 95 | private function __construct( |
99 | 96 | ?string $path, |
@@ -70,6 +70,9 @@ |
||
70 | 70 | ); |
71 | 71 | } |
72 | 72 | |
73 | + /** |
|
74 | + * @param null|Name $use |
|
75 | + */ |
|
73 | 76 | private function resolveNodeName(Name $name, ?Name $namespace, ?Name $use): Name |
74 | 77 | { |
75 | 78 | if (null !== $use) { |