| Total Complexity | 3 | 
| Total Lines | 40 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php | ||
| 25 | class RequestMapper extends RestRequestMapper | ||
| 26 | { | ||
| 27 | /** | ||
| 28 | * @var array<int, non-empty-string> | ||
|  | |||
| 29 | */ | ||
| 30 | protected static array $properties = [ | ||
| 31 | 'username', | ||
| 32 | 'firstName', | ||
| 33 | 'lastName', | ||
| 34 | 'email', | ||
| 35 | 'language', | ||
| 36 | 'locale', | ||
| 37 | 'timezone', | ||
| 38 | 'userGroups', | ||
| 39 | 'password', | ||
| 40 | ]; | ||
| 41 | |||
| 42 | 96 | public function __construct( | |
| 45 | 96 | } | |
| 46 | |||
| 47 | /** | ||
| 48 | * @param array<int, string> $userGroups | ||
| 49 | * | ||
| 50 | * @return array<int, UserGroup> | ||
| 51 | * | ||
| 52 | * @throws Throwable | ||
| 53 | */ | ||
| 54 | 4 | protected function transformUserGroups(array $userGroups): array | |
| 59 | 4 | ); | |
| 60 | } | ||
| 61 | |||
| 62 | 10 | protected function transformLanguage(string $language): Language | |
| 67 |