| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class SlackWebhook |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Invoker. |
||
| 24 | * |
||
| 25 | * @param array $args |
||
| 26 | * |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | public function __invoke(array $args): bool |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Test Slack Webhook. |
||
| 36 | * |
||
| 37 | * @param array $getParams The GET params passed from tryMessenger method. |
||
| 38 | * @param array $message The message title and body. |
||
| 39 | * |
||
| 40 | * @return bool |
||
| 41 | */ |
||
| 42 | private function sandbox($getParams, $message) |
||
| 52 | } |
||
| 53 | } |