| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class ProfileResponse extends AbstractResponse |
||
| 8 | { |
||
| 9 | private const RESULT = 'result'; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var null|string |
||
| 13 | */ |
||
| 14 | protected $result; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param array $response |
||
| 18 | */ |
||
| 19 | protected function parseResponse(array $response): void |
||
| 20 | { |
||
| 21 | 3 | $this->result = $response[self::RESULT] ?? null; |
|
| 22 | } |
||
| 23 | 3 | ||
| 24 | 3 | /** |
|
| 25 | * @return null|string |
||
| 26 | */ |
||
| 27 | public function getResult(): ?string |
||
| 30 | } |
||
| 31 | } |
||
| 32 |