Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
8 | final class ChannelOptions |
||
9 | { |
||
10 | private $hookUrl; |
||
11 | |||
12 | private $tag; |
||
13 | |||
14 | 2 | public function __construct(?string $hookUrl, ?string $tag) |
|
15 | { |
||
16 | 2 | $this->hookUrl = $hookUrl; |
|
17 | 2 | $this->tag = $tag; |
|
18 | 2 | } |
|
19 | |||
20 | 2 | public function getHookUrl(): ?string |
|
23 | } |
||
24 | |||
25 | 2 | public function getTag(): ?string |
|
30 |