Skip to content

Commit ca89b26

Browse files
authored
Merge pull request #2 from jbidad/master
Upgrade for Laravel 10
2 parents 20a0553 + dda1819 commit ca89b26

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828
},
2929
"require": {
30-
"monolog/monolog": "^1.0|^2.0",
30+
"monolog/monolog": "^1.0|^2.0|^3.0",
3131
"ext-curl": "*"
3232
}
3333
}

src/TelegramBotHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(string $token, string $chat_id, $level = Logger::DEB
5555
/**
5656
* @inheritDoc
5757
*/
58-
protected function write(array $record): void
58+
protected function write($record): void
5959
{
6060
$this->send($record['formatted']);
6161
}

src/TelegramFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function __construct($html = true, $format = null, $dateFormat = null, $s
6262
/**
6363
* {@inheritdoc}
6464
*/
65-
public function format(array $record)
65+
public function format($record)
6666
{
6767
$message = '';
6868
if (isset($record['context']) && isset($record['context']['exception'])) {

0 commit comments

Comments
 (0)