From 8d34f3ccd3230a9fd7c7fd9ba8ec0110a059f781 Mon Sep 17 00:00:00 2001 From: Yaroslav Molchan Date: Mon, 30 Apr 2018 14:46:15 +0300 Subject: [PATCH] Fix bug with ReplyKeyboardRemove. --- src/Types/ReplyKeyboardRemove.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Types/ReplyKeyboardRemove.php b/src/Types/ReplyKeyboardRemove.php index 891ee90d..bc092227 100644 --- a/src/Types/ReplyKeyboardRemove.php +++ b/src/Types/ReplyKeyboardRemove.php @@ -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. @@ -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; } @@ -59,7 +59,7 @@ public function __construct($remove_keyboard = true, $selective = false) */ public function getRemoveKeyboard() { - return $this->remove_keyboard; + return $this->removeKeyboard; } /** @@ -67,7 +67,7 @@ public function getRemoveKeyboard() */ public function setRemoveKeyboard($remove_keyboard) { - $this->remove_keyboard = $remove_keyboard; + $this->removeKeyboard = $remove_keyboard; } /**