We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 4 |
Paths | 3 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 4 |
Changes | 0 |
1 | <?php |
||
43 | 87 | private function wrapFieldsArgument(array $fields) |
|
44 | { |
||
45 | 87 | foreach ($fields as &$field) { |
|
46 | 87 | if (isset($field['resolve']) && \is_callable($field['resolve'])) { |
|
47 | 79 | $field['resolve'] = $this->argumentFactory->wrapResolverArgs($field['resolve']); |
|
48 | } |
||
49 | } |
||
50 | |||
51 | 87 | return $fields; |
|
52 | } |
||
54 |