1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-23 01:26:11 +02:00

Merge branch '1.x'

This commit is contained in:
Jordi Boggiano
2017-03-13 08:08:24 +01:00
2 changed files with 6 additions and 1 deletions

View File

@@ -159,7 +159,7 @@ class LineFormatter extends NormalizerFormatter
{
if ($this->allowInlineLineBreaks) {
if (0 === strpos($str, '{')) {
return str_replace(['\r', '\n'], ["\r", "\n"], $str);
return str_replace(array('\r', '\n'), array("\r", "\n"), $str);
}
return $str;