Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
12 | class WebhookChannel implements Channel |
||
13 | { |
||
14 | /** |
||
15 | * @var ClientInterface |
||
16 | */ |
||
17 | private $client; |
||
18 | |||
19 | public function __construct(ClientInterface $client) |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param Webhook $webhook |
||
26 | */ |
||
27 | public function send(Webhook $webhook): void |
||
35 | } |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return array |
||
40 | */ |
||
41 | protected function defaultHeaders(): array |
||
46 |