Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 33.33% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | abstract class Tiqr_UserStorage_Abstract implements Tiqr_UserStorage_Interface, Tiqr_HealthCheck_Interface |
||
30 | { |
||
31 | protected LoggerInterface $logger; |
||
32 | |||
33 | 8 | public function __construct(array $config, LoggerInterface $logger) |
|
34 | { |
||
35 | 8 | $this->logger = $logger; |
|
36 | } |
||
37 | |||
38 | /** |
||
39 | * Returns additional attributes for the user. |
||
40 | * |
||
41 | * @param string $userId User identifier. |
||
42 | * @return array additional user attributes |
||
43 | */ |
||
44 | public function getAdditionalAttributes(string $userId): array |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * @see Tiqr_HealthCheck_Interface::healthCheck() |
||
51 | */ |
||
52 | public function healthCheck(string &$statusMessage = ''): bool |
||
57 |