Skip to content

Commit

Permalink
Merge pull request #461 from crThiago/patch-1
Browse files Browse the repository at this point in the history
Removendo loadXMLFile
  • Loading branch information
robmachado authored Apr 30, 2021
2 parents 572257f + 9fe4f7b commit cbb0fa1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Legacy/Dom.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
*/

use \DOMDocument;
use NFePHP\DA\Legacy\FilesFolders;
use InvalidArgumentException;

class Dom extends DOMDocument
Expand All @@ -39,12 +38,6 @@ public function loadXMLString($xmlString = '')
throw new InvalidArgumentException($msg);
}
}

public function loadXMLFile($pathXmlFile = '')
{
$data = FilesFolders::readFile($pathXmlFile);
$this->loadXMLString($data);
}

/**
* getNodeValue
Expand Down

0 comments on commit cbb0fa1

Please sign in to comment.