| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class BackendsConfig implements JsonSerializable |
||
| 11 | { |
||
| 12 | /** @var array<string, BackendConfigInterface> */ |
||
| 13 | private array $configs = []; |
||
| 14 | |||
| 15 | 2 | public function add(string $username, BackendConfigInterface $backendConfig): self |
|
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @psalm-suppress MixedReturnTypeCoercion |
||
| 23 | * |
||
| 24 | * @return array<string,array> |
||
| 25 | */ |
||
| 26 | 2 | public function jsonSerialize(): array |
|
| 39 |