@@ -32,8 +32,8 @@ |
||
| 32 | 32 | $checkPassed = array_reduce( |
| 33 | 33 | $requirements->getRequirements(), |
| 34 | 34 | /** |
| 35 | - * @param bool $checkPassed |
|
| 36 | - * @param Requirement $requirement |
|
| 35 | + * @param string $checkPassed |
|
| 36 | + * @param boolean $requirement |
|
| 37 | 37 | * |
| 38 | 38 | * @return bool |
| 39 | 39 | */ |
@@ -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; |
@@ -81,9 +81,6 @@ |
||
| 81 | 81 | * @param callable[] $patchers List of closures which can alter the content of the files being |
| 82 | 82 | * scoped. |
| 83 | 83 | * @param string[] $whitelist List of classes that will not be scoped. |
| 84 | - * @param Closure $globalNamespaceWhitelisters Closure taking a class name from the global namespace as an argument and |
|
| 85 | - * returning a boolean which if `true` means the class should be scoped |
|
| 86 | - * (i.e. is ignored) or scoped otherwise. |
|
| 87 | 84 | */ |
| 88 | 85 | private function __construct( |
| 89 | 86 | ?string $path, |