1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Fix deprecations

This commit is contained in:
Jordi Boggiano
2024-08-27 09:45:47 +02:00
parent 5c45513614
commit a4a5a06501
2 changed files with 2 additions and 2 deletions

View File

@@ -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');

View File

@@ -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 {