| Total Complexity | 5 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class InvoiceController |
||
| 16 | { |
||
| 17 | use DocBlockResolverAwareTrait; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @psalm-suppress InternalMethod |
||
| 21 | */ |
||
| 22 | public function __invoke(string $username = ''): string |
||
| 37 | } |
||
| 38 | } |
||
| 39 | |||
| 40 | private function error(Throwable $e): string |
||
| 45 | ]); |
||
| 46 | } |
||
| 47 | |||
| 48 | private function json(array $json): string |
||
| 55 |