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