Skip to content

Commit 2d54e2a

Browse files
committed
fix: wrong comment and indentation
1 parent 2b3db3f commit 2d54e2a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

config/telegram-logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Telegram chat id
88
'chat_id' => env('TELEGRAM_LOGGER_CHAT_ID'),
99

10-
// Telegram chat id
10+
// Telegram message thread id
1111
'message_thread_id' => env('TELEGRAM_LOGGER_MESSAGE_THEAD_ID', null),
1212

1313
// Blade Template to use formatting logs

src/TelegramHandler.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ public function __construct(array $config)
6969
parent::__construct($level, true);
7070

7171
// define variables for making Telegram request
72-
$this->config = $config;
73-
$this->botToken = $this->getConfigValue('token');
74-
$this->chatId = $this->getConfigValue('chat_id');
75-
$this->messageThreadId = $this->getConfigValue('message_thread_id');
72+
$this->config = $config;
73+
$this->botToken = $this->getConfigValue('token');
74+
$this->chatId = $this->getConfigValue('chat_id');
75+
$this->messageThreadId = $this->getConfigValue('message_thread_id');
7676

7777
// define variables for text message
7878
$this->appName = config('app.name');

0 commit comments

Comments
 (0)