Skip to content

Commit

Permalink
Merge pull request #15 from jefersonmenegaldo/fix/remove-obrigatoried…
Browse files Browse the repository at this point in the history
…ade-cpais

fix: remove a obrigatoriedade de informar a tag cPais
  • Loading branch information
mazinsw authored Jan 16, 2024
2 parents c516a9a + 687c74a commit 48240c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/NFe/Entity/Endereco.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,7 @@ public function loadNode($element, $name = null)
$this->getPais()->setCodigo(
Util::loadNode(
$element,
'cPais',
'Tag "cPais" do objeto "Pais" não encontrada'
'cPais'
)
);
$this->getPais()->setNome(
Expand Down

0 comments on commit 48240c3

Please sign in to comment.