Total Complexity | 1 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class SetChatPermissionsMethod implements SetMethodAliasInterface |
||
21 | { |
||
22 | use ChatIdVariableTrait; |
||
23 | |||
24 | /** |
||
25 | * @var ChatPermissionsType |
||
26 | */ |
||
27 | public $permissions; |
||
28 | |||
29 | /** |
||
30 | * @param int|string $chatId |
||
31 | * @param ChatPermissionsType $permissions |
||
32 | * |
||
33 | * @return SetChatPermissionsMethod |
||
34 | */ |
||
35 | 1 | public static function create($chatId, ChatPermissionsType $permissions): SetChatPermissionsMethod |
|
44 |