| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | trait TransformsStates |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @param array $states |
||
| 12 | * |
||
| 13 | * @throws \TestMonitor\DevOps\Exceptions\InvalidDataException |
||
| 14 | * |
||
| 15 | * @return \TestMonitor\DevOps\Resources\State[] |
||
| 16 | */ |
||
| 17 | 1 | protected function fromDevOpsStates($states): array |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param array $state |
||
| 28 | * |
||
| 29 | * @throws \TestMonitor\DevOps\Exceptions\InvalidDataException |
||
| 30 | * |
||
| 31 | * @return \TestMonitor\DevOps\Resources\State |
||
| 32 | */ |
||
| 33 | 1 | protected function fromDevOpsState($state): State |
|
| 44 |