Skip to content

Commit 8346a05

Browse files
author
Rodion Liuborets
committed
Update psr/log
1 parent 1473682 commit 8346a05

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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": "^1.1",
34+
"psr/log": "^3.0",
3535
"symfony/phpunit-bridge": "^5.1"
3636
},
3737
"autoload-dev": {

src/Util/Logger.php

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

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

0 commit comments

Comments
 (0)