|
@@ -159,7 +159,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;
|