From c5e2f3552e36adc8187baa08fc928cffdacaa92e Mon Sep 17 00:00:00 2001 From: Kamil Mukhametzyanov Date: Wed, 15 Feb 2023 08:32:32 +0300 Subject: [PATCH] fix --- src/TelegramHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TelegramHandler.php b/src/TelegramHandler.php index 5301a34..44df055 100644 --- a/src/TelegramHandler.php +++ b/src/TelegramHandler.php @@ -150,7 +150,7 @@ private function sendMessage(string $text): void * @param string $defaultConfigKey * @return string */ - private function getConfigValue($key, $defaultConfigKey = null): string + private function getConfigValue($key, $defaultConfigKey = null): ?string { if (isset($this->config[$key])) { return $this->config[$key];