Skip to content

Commit b717194

Browse files
authored
fix: psr log (#696)
1 parent 797d0f4 commit b717194

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"ext-json": "*",
1717
"ext-mbstring": "*",
1818
"psr/http-message": "^1.0",
19-
"psr/log": "^1.0",
19+
"psr/log": "^1.0 || ^2.0 || ^3.0",
2020
"psr/simple-cache": "^1.0"
2121
},
2222
"require-dev": {

src/Log/DebugLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static function enable()
3838
/**
3939
* {@inheritdoc}
4040
*/
41-
public function log($level, $message, array $context = [])
41+
public function log($level, $message, array $context = []): void
4242
{
4343
if (self::$isEnabled) {
4444
$logMessage = [

0 commit comments

Comments
 (0)