Skip to content

Commit

Permalink
Merge pull request #10 from gojigeje/php7-fix
Browse files Browse the repository at this point in the history
PHP7 fatal error fix: Redefinition of parameter
  • Loading branch information
mgp25 committed Dec 27, 2015
2 parents cedda6a + aea4c10 commit 91b9b93
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 91b9b93

Please sign in to comment.