mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
Fix deprecations
This commit is contained in:
@@ -116,7 +116,7 @@ class TelegramBotHandler extends AbstractProcessingHandler
|
||||
?bool $disableNotification = null,
|
||||
bool $splitLongMessages = false,
|
||||
bool $delayBetweenMessages = false,
|
||||
int $topic = null
|
||||
?int $topic = null
|
||||
) {
|
||||
if (!\extension_loaded('curl')) {
|
||||
throw new MissingExtensionException('The curl extension is needed to use the TelegramBotHandler');
|
||||
|
@@ -30,7 +30,7 @@ class SyslogFormatterTest extends TestCase
|
||||
string $channel,
|
||||
Level $level,
|
||||
string $message,
|
||||
string $appName = null,
|
||||
?string $appName = null,
|
||||
array $context = [],
|
||||
array $extra = []
|
||||
): void {
|
||||
|
Reference in New Issue
Block a user