| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class InvoiceFacade extends AbstractFacade |
||
| 13 | { |
||
| 14 | 1 | /** |
|
| 15 | * @return array{ |
||
|
|
|||
| 16 | 1 | * callback: string, |
|
| 17 | 1 | * maxSendable: int, |
|
| 18 | 1 | * minSendable: int, |
|
| 19 | * metadata: string, |
||
| 20 | * tag: string, |
||
| 21 | 1 | * commentAllowed: bool, |
|
| 22 | * } |
||
| 23 | 1 | */ |
|
| 24 | 1 | public function getCallbackUrl(string $username): array |
|
| 29 | } |
||
| 30 | |||
| 31 | public function generateInvoice(string $username, int $milliSats): array |
||
| 38 |