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 | 6 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | 1 | public function resolve(array $inputs, $context, $info, callable $resolveSingleInput) |
|
| 29 | { |
||
| 30 | 1 | $data = []; |
|
| 31 | |||
| 32 | 1 | foreach ($inputs as $input) { |
|
| 33 | 1 | $data[$input] = $this->promiseAdapter->createFulfilled(call_user_func_array($resolveSingleInput, [$input, $context, $info])); |
|
| 34 | 1 | } |
|
| 35 | |||
| 36 | 1 | return $this->promiseAdapter->all($data); |
|
| 37 | } |
||
| 38 | } |
||
| 39 |