Skip to content

Commit 421f46c

Browse files
author
Ivan Gavryshko
committed
MAGETWO-31422: XML file syntax error does not report file name error is in
- fixed code formatting issue.
1 parent 963664e commit 421f46c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Xml/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function loadXML($string)
158158

159159
try {
160160
$this->getDom()->loadXML($string);
161-
} catch(\Magento\Framework\Exception $e) {
161+
} catch (\Magento\Framework\Exception $e) {
162162
restore_error_handler();
163163
throw new \Magento\Framework\Exception($e->getMessage(), $e->getCode(), $e);
164164
}

0 commit comments

Comments
 (0)