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