Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
22 | final class ParallelProcessor extends Processor |
||
23 | { |
||
24 | /** |
||
25 | * @var Pool |
||
26 | */ |
||
27 | private $pool; |
||
28 | |||
29 | /** |
||
30 | * @param Pool $pool |
||
31 | */ |
||
32 | public function __construct(Pool $pool = null) |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return Promise |
||
39 | */ |
||
40 | public function shutdown(): Promise |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | protected function process(callable $handler, array $arguments, Token $token): callable |
||
57 |
This check looks for imports that have been defined, but are not used in the scope.