We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
30 | public function __invoke(array $inputs, $context, $info, callable $resolveSingleInput) |
||
31 | { |
||
32 | $data = []; |
||
33 | |||
34 | foreach ($inputs as $input) { |
||
35 | $data[$input] = $this->promiseAdapter->createFulfilled(call_user_func_array($resolveSingleInput, [$input, $context, $info])); |
||
36 | } |
||
37 | |||
38 | return $this->promiseAdapter->all($data); |
||
39 | } |
||
40 | |||
49 |