Skip to content

Commit

Permalink
fix: utiliza constante com self
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeferson Menegaldo committed Mar 14, 2024
1 parent 1e028a5 commit 046bac1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NFe/Entity/Endereco.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,13 +326,13 @@ public function loadNode($element, $name = null)
Util::loadNode(
$element,
'cPais'
) ?? $this::CODIGO_PAIS_DEFAULT
) ?? self::CODIGO_PAIS_DEFAULT
);
$this->getPais()->setNome(
Util::loadNode(
$element,
'xPais'
) ?? $this::NOME_PAIS_DEFAULT
) ?? self::NOME_PAIS_DEFAULT
);
return $element;
}
Expand Down

0 comments on commit 046bac1

Please sign in to comment.