1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Fix 5.3 support

This commit is contained in:
Jordi Boggiano
2017-03-13 08:02:29 +01:00
parent 821cc3e4a5
commit 1584a90c48

View File

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