@@ -232,7 +232,6 @@ |
||
232 | 232 | * \brief Called every time a post get edited in the channel where the bot is in. |
233 | 233 | * \details Override it to script the bot answer for each post edited in a channel. |
234 | 234 | * <code>$chat_id</code> set inside of this function. |
235 | - * @param Message $post The message edited in the channel. |
|
236 | 235 | */ |
237 | 236 | protected function processEditedChannelPost(Message $edited_post) |
238 | 237 | { |
@@ -391,7 +391,7 @@ discard block |
||
391 | 391 | /** |
392 | 392 | * \brief Set current chat ID. |
393 | 393 | * \details Change the chat ID on which the bot acts. |
394 | - * @param $chat_id The new chat ID to set. |
|
394 | + * @param string $chat_id The new chat ID to set. |
|
395 | 395 | */ |
396 | 396 | public function setChatID($chat_id) |
397 | 397 | { |
@@ -447,7 +447,6 @@ discard block |
||
447 | 447 | * brief Process an API method by taking method and parameter. |
448 | 448 | * \details optionally create a object of $class class name with the response as constructor param. |
449 | 449 | * @param string $method Method to call. |
450 | - * @param array $param Parameter for the method. |
|
451 | 450 | * @param string $class Class name of the object to create using response. |
452 | 451 | * @return mixed Response or object of $class class name. |
453 | 452 | */ |
@@ -93,7 +93,7 @@ |
||
93 | 93 | |
94 | 94 | /** |
95 | 95 | * \brief Add various commands at once. |
96 | - * @param ...BasicCommand $commands The commands to add. |
|
96 | + * @param BasicCommand[] $commands The commands to add. |
|
97 | 97 | */ |
98 | 98 | public function addCommands(BasicCommand ...$commands) |
99 | 99 | { |