Skip to content

Commit

Permalink
Fix bug with ReplyKeyboardRemove.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMY3 committed Apr 30, 2018
1 parent 5cefd26 commit 8d34f3c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Types/ReplyKeyboardRemove.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ReplyKeyboardRemove extends BaseType
*
* @var bool
*/
protected $remove_keyboard;
protected $removeKeyboard;

/**
* Optional. Use this parameter if you want to remove the keyboard for specific users only.
Expand All @@ -50,7 +50,7 @@ class ReplyKeyboardRemove extends BaseType

public function __construct($remove_keyboard = true, $selective = false)
{
$this->remove_keyboard = $remove_keyboard;
$this->removeKeyboard = $remove_keyboard;
$this->selective = $selective;
}

Expand All @@ -59,15 +59,15 @@ public function __construct($remove_keyboard = true, $selective = false)
*/
public function getRemoveKeyboard()
{
return $this->remove_keyboard;
return $this->removeKeyboard;
}

/**
* @param bool $remove_keyboard
*/
public function setRemoveKeyboard($remove_keyboard)
{
$this->remove_keyboard = $remove_keyboard;
$this->removeKeyboard = $remove_keyboard;
}

/**
Expand Down

0 comments on commit 8d34f3c

Please sign in to comment.