Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
5 | final class WebhookException extends TelegramGitNotifierException |
||
6 | { |
||
7 | public static function set(): self |
||
8 | { |
||
9 | return new self('Something went wrong while setting webhook. Check your bot token and app url!'); |
||
10 | } |
||
11 | |||
12 | public static function delete(): self |
||
13 | { |
||
14 | return new self('Something went wrong while deleting webhook. Check your bot token and app url!'); |
||
15 | } |
||
16 | |||
17 | public static function getUpdates(): self |
||
18 | { |
||
19 | return new self('Something went wrong while getting updates. Check your bot token and app url!'); |
||
20 | } |
||
21 | |||
22 | public static function getWebHookInfo(): self |
||
25 | } |
||
26 | } |
||
27 |