We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 2 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2.0185 |
Changes | 0 |
1 | <?php |
||
11 | 63 | public function __construct($name = 'value_resolver') |
|
12 | { |
||
13 | 63 | parent::__construct( |
|
14 | 63 | $name, |
|
15 | function ($args = '[]', $method = null) { |
||
16 | return \sprintf('call_user_func_array([$value, %s], array_values(%s));', $method ? : '$info->fieldName', $args); |
||
17 | 63 | } |
|
18 | ); |
||
19 | 63 | } |
|
20 | } |
||
21 |