diff --git a/src/Extensions/Keyboard.php b/src/Extensions/Keyboard.php index 4f2cce5..6b2d1da 100644 --- a/src/Extensions/Keyboard.php +++ b/src/Extensions/Keyboard.php @@ -1,6 +1,7 @@ json_encode(Collection::make([ $this->type => $this->rows, 'one_time_keyboard' => $this->oneTimeKeyboard, - 'resize_keyboard' => $this->resizeKeyboard - ])->filter()) + 'resize_keyboard' => $this->resizeKeyboard, + ])->filter()), ]; } } diff --git a/src/Extensions/KeyboardButton.php b/src/Extensions/KeyboardButton.php index 3cc5389..5b583ca 100644 --- a/src/Extensions/KeyboardButton.php +++ b/src/Extensions/KeyboardButton.php @@ -5,8 +5,7 @@ use Illuminate\Support\Collection; /** - * Class KeyboardButton - * @package BotMan\Drivers\Telegram\Extensions + * Class KeyboardButton. */ class KeyboardButton implements \JsonSerializable {