Skip to content

Commit 9b4fe8c

Browse files
chore: renomear variável validarDetEvento para deveValidarDetEvento
Co-authored-by: Agnaldo Silva <[email protected]>
1 parent 2ccc455 commit 9b4fe8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NFe.Servicos/ServicosNFe.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,9 @@ private RetornoRecepcaoEvento RecepcaoEvento(int idlote, List<evento> eventos, S
491491
if (_cFgServico.ValidarSchemas)
492492
Validador.Valida(servicoEvento, _cFgServico.VersaoRecepcaoEventoCceCancelamento, xmlEvento, cfgServico: _cFgServico);
493493

494-
var validarDetEvento = DeveValidarDetalhamentoDoEvento(servicoEvento);
494+
var deveValidarDetEvento = DeveValidarDetalhamentoDoEvento(servicoEvento);
495495

496-
if (validarDetEvento && _cFgServico.ValidarSchemas)
496+
if (deveValidarDetEvento && _cFgServico.ValidarSchemas)
497497
{
498498
foreach (var evento in pedEvento.evento)
499499
{

0 commit comments

Comments
 (0)