Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
19 | 102 | private function buildMutationTypeConfig(array $typeConfig): MutationTypeConfig |
|
20 | { |
||
21 | 102 | $mutationTypeConfig = new MutationTypeConfig(); |
|
22 | |||
23 | 102 | foreach ($typeConfig as $propertyName => $propertyValue) { |
|
24 | 102 | $this->setMutationTypeConfig($mutationTypeConfig, $propertyName, $propertyValue); |
|
25 | } |
||
26 | |||
27 | 102 | return $mutationTypeConfig; |
|
28 | } |
||
29 | |||
44 |