mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-18 15:18:08 +02:00
Add Record/Level/LevelName type aliases and improve phpstan type coverage to level 6
This commit is contained in:
@@ -33,7 +33,7 @@ class TelegramBotHandler extends AbstractProcessingHandler
|
||||
private const BOT_API = 'https://api.telegram.org/bot';
|
||||
|
||||
/**
|
||||
* @var array AVAILABLE_PARSE_MODES The available values of parseMode according to the Telegram api documentation
|
||||
* The available values of parseMode according to the Telegram api documentation
|
||||
*/
|
||||
private const AVAILABLE_PARSE_MODES = [
|
||||
'HTML',
|
||||
@@ -59,19 +59,19 @@ class TelegramBotHandler extends AbstractProcessingHandler
|
||||
* The kind of formatting that is used for the message.
|
||||
* See available options at https://core.telegram.org/bots/api#formatting-options
|
||||
* or in AVAILABLE_PARSE_MODES
|
||||
* @var string|null
|
||||
* @var ?string
|
||||
*/
|
||||
private $parseMode;
|
||||
|
||||
/**
|
||||
* Disables link previews for links in the message.
|
||||
* @var bool|null
|
||||
* @var ?bool
|
||||
*/
|
||||
private $disableWebPagePreview;
|
||||
|
||||
/**
|
||||
* Sends the message silently. Users will receive a notification with no sound.
|
||||
* @var bool|null
|
||||
* @var ?bool
|
||||
*/
|
||||
private $disableNotification;
|
||||
|
||||
|
Reference in New Issue
Block a user