We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1473682 commit 8346a05Copy full SHA for 8346a05
composer.json
@@ -31,7 +31,7 @@
31
"brainmaestro/composer-git-hooks": "^2.8",
32
"phpstan/phpstan-strict-rules": "^0.12.1",
33
"phpstan/extension-installer": "^1.0",
34
- "psr/log": "^1.1",
+ "psr/log": "^3.0",
35
"symfony/phpunit-bridge": "^5.1"
36
},
37
"autoload-dev": {
src/Util/Logger.php
@@ -26,8 +26,9 @@ class Logger extends AbstractLogger
26
27
/**
28
* @inheritDoc
29
+ * @param array<mixed,mixed> $context
30
*/
- public function log($level, $message, array $context = [])
+ public function log($level, $message, array $context = []): void
{
if (!in_array($level, self::LEVELS, true)) {
throw new InvalidArgumentException(sprintf('"%s" level is not allowed', $level));
0 commit comments