| Total Complexity | 1 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class SetChatTitleMethod implements SetMethodAliasInterface |
||
| 16 | { |
||
| 17 | use ChatIdVariableTrait; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * New chat title, 1-255 characters. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | public $title; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param int|string $chatId |
||
| 28 | * @param string $title |
||
| 29 | * |
||
| 30 | * @return SetChatTitleMethod |
||
| 31 | */ |
||
| 32 | 1 | public static function create($chatId, string $title): SetChatTitleMethod |
|
| 41 |