Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
20 | class StopPollMethod implements MethodInterface |
||
21 | { |
||
22 | use FillFromArrayTrait; |
||
23 | use ChatIdVariableTrait; |
||
24 | use MessageIdVariableTrait; |
||
25 | |||
26 | /** |
||
27 | * Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, |
||
28 | * instructions to remove reply keyboard or to force a reply from the user. |
||
29 | * |
||
30 | * @var InlineKeyboardMarkupType |
||
31 | */ |
||
32 | public $replyMarkup; |
||
33 | |||
34 | /** |
||
35 | * @param string $chatId |
||
36 | * @param int $messageId |
||
37 | * @param array|null $data |
||
38 | * |
||
39 | * @return StopPollMethod |
||
40 | */ |
||
41 | 3 | public static function create(string $chatId, int $messageId, array $data = null): self |
|
53 |