Skip to content

Commit 73ae48a

Browse files
chore(dependencies): don't depend on rollbar-php:v1.x
1 parent c678639 commit 73ae48a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
],
1818
"require": {
1919
"php": ">=7.0",
20-
"illuminate/support": "^5.0 || ^6.0",
21-
"rollbar/rollbar": "^1"
20+
"illuminate/support": "^6.0",
21+
"rollbar/rollbar": "^2"
2222
},
2323
"require-dev": {
2424
"orchestra/testbench": "~3.6",

src/MonologHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Rollbar\Laravel;
44

5-
use Rollbar\Monolog\Handler\RollbarHandler;
5+
use Monolog\Handler\RollbarHandler;
66

77
class MonologHandler extends RollbarHandler
88
{
@@ -13,7 +13,7 @@ public function setApp($app)
1313
$this->app = $app;
1414
}
1515

16-
protected function write(array $record)
16+
protected function write(array $record): void
1717
{
1818
$record['context'] = $this->addContext($record['context']);
1919
parent::write($record);

0 commit comments

Comments
 (0)