Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
26 | 2 | public function jsonSerialize(): array |
|
27 | { |
||
28 | /** @var array<string,array> $result */ |
||
29 | 2 | $result = []; |
|
30 | |||
31 | 2 | foreach ($this->configs as $username => $config) { |
|
32 | /** @psalm-suppress MixedAssignment */ |
||
33 | 2 | $result[$username] = $config->jsonSerialize(); |
|
34 | } |
||
35 | |||
36 | 2 | return $result; |
|
37 | } |
||
39 |