@@ -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) { |
@@ -107,9 +107,6 @@ |
||
107 | 107 | * @param callable[] $patchers List of closures which can alter the content of the files being |
108 | 108 | * scoped. |
109 | 109 | * @param Whitelist $whitelist List of classes that will not be scoped. |
110 | - * @param Closure $globalNamespaceWhitelisters Closure taking a class name from the global namespace as an argument and |
|
111 | - * returning a boolean which if `true` means the class should be scoped |
|
112 | - * (i.e. is ignored) or scoped otherwise. |
|
113 | 110 | * @param string[] $whitelistedFiles List of absolute paths of files to completely ignore |
114 | 111 | */ |
115 | 112 | private function __construct( |