1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 21:26:43 +02:00

throwEncodeError does not return, refs #683

This commit is contained in:
Jordi Boggiano
2015-11-18 17:57:11 +00:00
parent 0178fd4f09
commit 7e709c05f6

View File

@@ -205,7 +205,7 @@ class NormalizerFormatter implements FormatterInterface
$json = $this->jsonEncode($data);
if ($json === false) {
$json = $this->throwEncodeError(json_last_error(), $data);
$this->throwEncodeError(json_last_error(), $data);
}
return $json;