Skip to content

Commit

Permalink
php7 fatal error fix: Redefinition of parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gojigeje committed Dec 27, 2015
1 parent cedda6a commit aea4c10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Telegram.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ public function sendMessage($chat_id, $text, $parse_mode = null, $disable_web_pa
*
* @return Array
*/
public function forwardMessage($chat_id, $from_chat_id, $from_chat_id)
public function forwardMessage($chat_id, $from_chat_id, $message_id)
{
$params = compact('chat_id', 'from_chat_id', 'from_chat_id');
$params = compact('chat_id', 'from_chat_id', 'message_id');

return $this->sendRequest('forwardMessage', $params);
}
Expand Down

0 comments on commit aea4c10

Please sign in to comment.