Skip to content

Commit 7dccbc9

Browse files
committed
Expect newer monolog-parser version
1 parent 058f24f commit 7dccbc9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
],
2424
"require": {
2525
"php": "^8.0",
26-
"devdot/monolog-parser": "^1.3",
26+
"devdot/monolog-parser": "^1.4",
2727
"illuminate/contracts": "^9",
2828
"illuminate/console": "^9"
2929
},

src/Models/Log.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ public function getFilename(): string {
3737
return $this->filename;
3838
}
3939

40-
/**
41-
* @return array<int, \Devdot\Monolog\LogRecord>
42-
*/
43-
public function getRecords(): array {
40+
public function getRecords(): \Devdot\Monolog\Log {
4441
// simply access the parser
4542
return $this->parser->get();
4643
}

0 commit comments

Comments
 (0)