Skip to content

Commit

Permalink
rename var
Browse files Browse the repository at this point in the history
Now all the code follows the same structure. TODO: Fix debug while
sending media + other little issues
  • Loading branch information
mgp25 committed Aug 26, 2015
1 parent e9afd2f commit 6be39df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Telegram.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function forwardMessage($chat_id, $from_chat_id, $from_chat_id)
*
* @return Array
*/
public function sendPhoto($chat_id, $photo, $caption = null, $reply_to_message_id = null, $replyMarkup = null)
public function sendPhoto($chat_id, $photo, $caption = null, $reply_to_message_id = null, $reply_markup = null)
{
$data = compact('chat_id', 'photo', 'caption', 'reply_to_message_id', 'reply_markup');

Expand Down Expand Up @@ -147,7 +147,7 @@ public function sendAudio($chat_id, $audio, $duration = null, $performer = null,
*
* @return Array
*/
public function sendDocument($chat_id, $document, $reply_to_message_id = null, $replyMarkup = null)
public function sendDocument($chat_id, $document, $reply_to_message_id = null, $reply_markup = null)
{
$data = compact('chat_id', 'document', 'reply_to_message_id', 'reply_markup');

Expand All @@ -169,7 +169,7 @@ public function sendDocument($chat_id, $document, $reply_to_message_id = null, $
*
* @return Array
*/
public function sendSticker($chat_id, $sticker, $reply_to_message_id = null, $replyMarkup = null)
public function sendSticker($chat_id, $sticker, $reply_to_message_id = null, $reply_markup = null)
{
$data = compact('chat_id', 'sticker', 'reply_to_message_id', 'reply_markup');

Expand All @@ -193,7 +193,7 @@ public function sendSticker($chat_id, $sticker, $reply_to_message_id = null, $re
*
* @return Array
*/
public function sendVideo($chat_id, $video, $duration = null, $caption = null, $reply_to_message_id = null, $replyMarkup = null)
public function sendVideo($chat_id, $video, $duration = null, $caption = null, $reply_to_message_id = null, $reply_markup = null)
{
$data = compact('chat_id', 'video', 'duration', 'caption', 'reply_to_message_id', 'reply_markup');

Expand All @@ -216,7 +216,7 @@ public function sendVideo($chat_id, $video, $duration = null, $caption = null, $
*
* @return Array
*/
public function sendVoice($chat_id, $audio, $duration = null, $reply_to_message_id = null, $replyMarkup = null)
public function sendVoice($chat_id, $audio, $duration = null, $reply_to_message_id = null, $reply_markup = null)
{
$data = compact('chat_id', 'audio', 'duration', 'reply_to_message_id', 'reply_markup');

Expand Down

0 comments on commit 6be39df

Please sign in to comment.