We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 5 |
| Paths | 6 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public static function transformArgs(array $fields, FormDescriber $describer) |
||
| 27 | { |
||
| 28 | dump($fields); |
||
| 29 | foreach ($fields as &$field) { |
||
| 30 | if (isset($field['form'])) { |
||
| 31 | //dump($field['argsForm']); |
||
| 32 | $args = $describer->describe($field['form']); |
||
| 33 | unset($field['form']); |
||
| 34 | $field['args'] = isset($field['args']) && \is_array($field['args']) ? \array_merge($args, $field['args']) : $args; |
||
| 35 | } |
||
| 36 | } |
||
| 37 | |||
| 38 | return $fields; |
||
| 39 | } |
||
| 59 |