Completed
Pull Request — master (#17)
by
unknown
02:03
created
src/CoreBot.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
      */
419 419
     public function setWebhook(array $params) {
420 420
         return $this->exec_curl_request($this->_api_url . 'setWebhook?'
421
-                                                       . http_build_query($params));
421
+                                                        . http_build_query($params));
422 422
     }
423 423
 
424 424
     /**
@@ -766,11 +766,11 @@  discard block
 block discarded – undo
766 766
     public function editInlineMessageText(string $inline_message_id, $text, string $reply_markup = null, string $parse_mode = 'HTML', bool $disable_web_preview = false) {
767 767
 
768 768
         $parameters = [
769
-           'inline_message_id' => $inline_message_id,
770
-           'text' => $text,
771
-           'reply_markup' => $inline_keyboard,
772
-           'parse_mode' => $parse_mode,
773
-           'disable_web_page_preview' => $disable_web_preview,
769
+            'inline_message_id' => $inline_message_id,
770
+            'text' => $text,
771
+            'reply_markup' => $inline_keyboard,
772
+            'parse_mode' => $parse_mode,
773
+            'disable_web_page_preview' => $disable_web_preview,
774 774
         ];
775 775
 
776 776
         return $this->exec_curl_request($this->_api_url . 'editMessageText?' . http_build_query($parameters));
Please login to merge, or discard this patch.