We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1.0046 |
Changes | 0 |
1 | <?php |
||
12 | 134 | public function __construct(ArgumentsTransformer $transformer) |
|
13 | { |
||
14 | 134 | parent::__construct( |
|
15 | 134 | 'arguments', |
|
16 | function ($mapping, $data) { |
||
17 | return "\$globalVariable->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)"; |
||
18 | 134 | }, |
|
19 | function ($arguments, $mapping, $data) use ($transformer) { |
||
20 | 1 | return $transformer->getArguments($mapping, $data, $arguments['info']); |
|
21 | 134 | } |
|
25 |