Skip to content

Commit 8d34f3c

Browse files
committed
Fix bug with ReplyKeyboardRemove.
1 parent 5cefd26 commit 8d34f3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Types/ReplyKeyboardRemove.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ReplyKeyboardRemove extends BaseType
3636
*
3737
* @var bool
3838
*/
39-
protected $remove_keyboard;
39+
protected $removeKeyboard;
4040

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

5151
public function __construct($remove_keyboard = true, $selective = false)
5252
{
53-
$this->remove_keyboard = $remove_keyboard;
53+
$this->removeKeyboard = $remove_keyboard;
5454
$this->selective = $selective;
5555
}
5656

@@ -59,15 +59,15 @@ public function __construct($remove_keyboard = true, $selective = false)
5959
*/
6060
public function getRemoveKeyboard()
6161
{
62-
return $this->remove_keyboard;
62+
return $this->removeKeyboard;
6363
}
6464

6565
/**
6666
* @param bool $remove_keyboard
6767
*/
6868
public function setRemoveKeyboard($remove_keyboard)
6969
{
70-
$this->remove_keyboard = $remove_keyboard;
70+
$this->removeKeyboard = $remove_keyboard;
7171
}
7272

7373
/**

0 commit comments

Comments
 (0)