1 | <?php |
||
5 | class Remove { |
||
6 | |||
7 | public |
||
8 | $remove_keyboard = true, |
||
9 | $selective; |
||
10 | |||
11 | /* |
||
12 | * Telegram clients will remove the current custom keyboard and display the default letter-keyboard. |
||
13 | * |
||
14 | * @param boolean $selective Optional. Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message. |
||
15 | */ |
||
16 | public function __construct($selective = false){ |
||
19 | } |
Only declaring a single property per statement allows you to later on add doc comments more easily.
It is also recommended by PSR2, so it is a common style that many people expect.