| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Webhook |
||
| 8 | { |
||
| 9 | 3 | public function __construct(protected Client $client) |
|
| 11 | } |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Get a webhook authorization code. |
||
| 15 | * |
||
| 16 | * @see https://developer.vivawallet.com/webhooks-for-payments/#generate-a-webhook-verification-key |
||
| 17 | * |
||
| 18 | * @param array<string,mixed> $guzzleOptions Additional parameters for the Guzzle client |
||
| 19 | */ |
||
| 20 | 6 | public function getVerificationKey(array $guzzleOptions = []): WebhookVerificationKey |
|
| 34 |