Skip to content

Commit 3876e7c

Browse files
author
Rodion Liuborets
committed
Revert updating psr/log because of compatibility
1 parent 8346a05 commit 3876e7c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"brainmaestro/composer-git-hooks": "^2.8",
3232
"phpstan/phpstan-strict-rules": "^0.12.1",
3333
"phpstan/extension-installer": "^1.0",
34-
"psr/log": "^3.0",
34+
"psr/log": "^1.1",
3535
"symfony/phpunit-bridge": "^5.1"
3636
},
3737
"autoload-dev": {

src/Util/Logger.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ class Logger extends AbstractLogger
2626

2727
/**
2828
* @inheritDoc
29-
* @param array<mixed,mixed> $context
3029
*/
31-
public function log($level, $message, array $context = []): void
30+
public function log($level, $message, array $context = [])
3231
{
3332
if (!in_array($level, self::LEVELS, true)) {
3433
throw new InvalidArgumentException(sprintf('"%s" level is not allowed', $level));

0 commit comments

Comments
 (0)