Total Complexity | 3 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Coverage | 88.46% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class LnbitsBackendInvoice implements BackendInvoiceInterface |
||
10 | { |
||
11 | /** |
||
12 | * @param array{api_key:string, api_endpoint:string} $options |
||
13 | */ |
||
14 | 1 | public function __construct( |
|
18 | 1 | } |
|
19 | |||
20 | /** |
||
21 | * @return array { |
||
22 | * status: string, |
||
23 | * reason: string, |
||
24 | * } |
||
25 | */ |
||
26 | 1 | public function requestInvoice(float $satsAmount, string $metadata): array |
|
59 |