| Total Complexity | 3 | 
| Total Lines | 22 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 19 | class Error implements JsonSerializable | ||
| 20 | { | ||
| 21 | /** | ||
| 22 | * @param array<int|string, mixed> $args | ||
| 23 | */ | ||
| 24 | public function __construct( | ||
| 25 | public readonly string $format, | ||
| 26 | public readonly array $args = [] | ||
| 27 |     ) { | ||
| 28 | } | ||
| 29 | |||
| 30 | public function __toString() | ||
| 33 | } | ||
| 34 | |||
| 35 | /** | ||
| 36 | * @inheritDoc | ||
| 37 | */ | ||
| 38 | public function jsonSerialize(): string | ||
| 41 | } | ||
| 42 | } | ||
| 43 |