diff --git a/src/Commands/UserCommands/CancelCommand.php b/src/Commands/UserCommands/CancelCommand.php index dd3217ad4..19072dd95 100644 --- a/src/Commands/UserCommands/CancelCommand.php +++ b/src/Commands/UserCommands/CancelCommand.php @@ -60,7 +60,7 @@ public function execute() */ public function executeNoDb() { - return $this->hideKeyboard(); + return $this->hideKeyboard('Nothing to cancel.'); } /** @@ -70,7 +70,7 @@ public function executeNoDb() * * @return Entities\ServerResponse */ - private function hideKeyboard($text = '') + private function hideKeyboard($text) { return Request::sendMessage([ 'reply_markup' => new ReplyKeyboardHide(['selective' => true]),