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.
2 parents 1f0595a + d892506 commit 67271a2Copy full SHA for 67271a2
lizmap/modules/lizmap/lib/Logger/Logger.php
@@ -110,13 +110,11 @@ public function isLevelHighEnough(string $level): bool
110
/**
111
* Logs with an arbitrary level.
112
*
113
- * @param mixed $level
114
- * @param string|\Stringable $message
115
- * @param array $context
+ * @param mixed $level
116
117
* @throws InvalidArgumentException
118
*/
119
- public function log($level, $message, $context = array())
+ public function log($level, string|\Stringable $message, array $context = array()): void
120
{
121
if (!in_array($level, self::LogLevels)) {
122
throw new InvalidArgumentException('Invalid log level');
0 commit comments