1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 09:06:10 +02:00

Fix type error, fixes #1369

This commit is contained in:
Jordi Boggiano
2019-09-05 14:38:03 +02:00
parent cbf670fa59
commit 4bfd341586
2 changed files with 3 additions and 2 deletions

View File

@@ -217,7 +217,7 @@ class BrowserConsoleHandler extends AbstractProcessingHandler
if (empty($value)) {
$value = static::quote('');
}
$script[] = static::call('log', static::quote('%s: %o'), static::quote($key), $value);
$script[] = static::call('log', static::quote('%s: %o'), static::quote((string) $key), $value);
}
return $script;