Completed
Branch master (a303bd)
by Rafael
02:24
created
src/TelegramAdapter.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace TelegramHandler;
4 4
 use Telegram\Bot\Api as TelegramBotApi;
5
-use Symfony\Component\Yaml\Parser;
6 5
 
7 6
 /**
8 7
  * TelegramAdapter
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
28 28
   public function sendMessage($message) {
29 29
 
30 30
     $response = $this->telegram->sendMessage([
31
-         'chat_id' => $this->chat_id, 
32
-         'text' => $message,
33
-         'parse_mode' => 'HTML'
31
+          'chat_id' => $this->chat_id, 
32
+          'text' => $message,
33
+          'parse_mode' => 'HTML'
34 34
     ]);
35 35
   }
36 36
 }
Please login to merge, or discard this patch.