| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | 1 | protected function parseResponse(array $response): void |
|
| 42 | { |
||
| 43 | 1 | $this->firstName = $response[UserInterface::FIRST_NAME] ?? null; |
|
| 44 | 1 | $this->lastName = $response[UserInterface::LAST_NAME] ?? null; |
|
| 45 | 1 | $this->profilePic = $response[UserInterface::PROFILE_PIC] ?? null; |
|
| 46 | 1 | $this->locale = $response[UserInterface::LOCALE] ?? null; |
|
| 47 | 1 | $this->timezone = $response[UserInterface::TIMEZONE] ?? null; |
|
| 48 | 1 | $this->gender = $response[UserInterface::GENDER] ?? null; |
|
| 49 | 1 | } |
|
| 50 | |||
| 81 |