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