@@ -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 | */ |
@@ -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, |