We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a6ba3c commit f212211Copy full SHA for f212211
src/PhpSpreadsheet/Reader/Xml.php
@@ -324,8 +324,8 @@ public function loadIntoExisting($pFilename, Spreadsheet $spreadsheet)
324
$xml = $this->trySimpleXMLLoadString($pFilename);
325
326
$namespaces = $xml->getNamespaces(true);
327
- $namespacesDoc = $xml->getDocNamespaces(true);
328
- $namespaces = array_merge($namespaces, $namespacesDoc);
+ $namespacesDoc = $xml->getDocNamespaces(true);
+ $namespaces = array_merge($namespaces, $namespacesDoc);
329
330
$docProps = $spreadsheet->getProperties();
331
if (isset($xml->DocumentProperties[0])) {
0 commit comments