Refactor code

PHPExcel/Helper/HTML.php:769:Parse error - syntax error, unexpected '[', expecting ')'
This commit is contained in:
dedulay 2015-12-31 10:52:57 +03:00
parent a27e053354
commit 2221c5ed12

View File

@ -766,7 +766,7 @@ class PHPExcel_Helper_HTML
$domText = preg_replace(
'/\s+/u',
' ',
str_replace(["\r", "\n"], ' ', $textNode->nodeValue)
str_replace(array("\r", "\n"), ' ', $textNode->nodeValue)
);
$this->stringData .= $domText;
$this->buildTextRun();