Skip to content

Commit 6394ae7

Browse files
Update lib/internal/Magento/Framework/Config/Dom.php
Co-authored-by: Ihor Sviziev <ihor-sviziev@users.noreply.github.com>
1 parent 0317262 commit 6394ae7

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework/Config

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Config/Dom.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@ private static function _renderErrorMessage(\LibXMLError $errorInfo, string $for
429429
if ($dom) {
430430
$xml = explode(PHP_EOL, $dom->saveXml());
431431
$lines = array_slice($xml, max(0, $errorInfo->line - 5), 10, true);
432-
$result .= 'The xml was: '.PHP_EOL;
432+
$result .= 'The xml was: ' . PHP_EOL;
433433
foreach ($lines as $lineNumber => $line) {
434-
$result .= $lineNumber.':'.$line.PHP_EOL;
434+
$result .= $lineNumber . ':' . $line . PHP_EOL;
435435
}
436436
}
437437
return $result;

0 commit comments

Comments
 (0)