diff --git a/src/TelegramBotHandler.php b/src/TelegramBotHandler.php index 24b07a7..3a97d47 100644 --- a/src/TelegramBotHandler.php +++ b/src/TelegramBotHandler.php @@ -57,7 +57,7 @@ class TelegramBotHandler extends AbstractProcessingHandler implements HandlerInt public function __construct( string $token, string $chat_id, - string|null $topic_id = null, + ?string $topic_id = null, $level = Logger::DEBUG, bool $bubble = true, $bot_api = 'https://api.telegram.org/bot',