Skip to content

Commit

Permalink
Fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Aug 27, 2024
1 parent 5c45513 commit a4a5a06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Monolog/Handler/TelegramBotHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function __construct(
?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');
Expand Down
2 changes: 1 addition & 1 deletion tests/Monolog/Formatter/SyslogFormatterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function testFormat(
string $channel,
Level $level,
string $message,
string $appName = null,
?string $appName = null,
array $context = [],
array $extra = []
): void {
Expand Down

0 comments on commit a4a5a06

Please sign in to comment.