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 | 57 | private function wrapFieldsArgument(array $fields) |
|
| 44 | { |
||
| 45 | 57 | foreach ($fields as &$field) { |
|
| 46 | 57 | if (isset($field['resolve']) && \is_callable($field['resolve'])) { |
|
| 47 | 55 | $field['resolve'] = $this->argumentFactory->wrapResolverArgs($field['resolve']); |
|
| 48 | } |
||
| 49 | } |
||
| 50 | |||
| 51 | 57 | return $fields; |
|
| 52 | } |
||
| 54 |