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 | 137 | public function __construct(ArgumentsTransformer $transformer) |
|
| 13 | { |
||
| 14 | 137 | parent::__construct( |
|
| 15 | 137 | 'arguments', |
|
| 16 | function ($mapping, $data) { |
||
| 17 | return "\$globalVariable->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)"; |
||
| 18 | 137 | }, |
|
| 19 | function ($arguments, $mapping, $data) use ($transformer) { |
||
| 20 | 1 | return $transformer->getArguments($mapping, $data, $arguments['info']); |
|
| 21 | 137 | } |
|
| 25 |