@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | return ''; |
98 | 98 | } |
99 | 99 | $this->method = "ConsultaInformacoesConsolidadas"; |
100 | - $this->action = "http://sped.fazenda.gov.br/ConsultasReinf/".$this->method; |
|
100 | + $this->action = "http://sped.fazenda.gov.br/ConsultasReinf/" . $this->method; |
|
101 | 101 | $request = "<sped:tipoInscricaoContribuinte>$this->tpInsc</sped:tipoInscricaoContribuinte>"; |
102 | 102 | $request .= "<sped:numeroInscricaoContribuinte>$this->nrInsc</sped:numeroInscricaoContribuinte>"; |
103 | 103 | $request .= "<sped:numeroProtocoloFechamento>$recibofechamento</sped:numeroProtocoloFechamento>"; |
@@ -133,20 +133,20 @@ discard block |
||
133 | 133 | throw ProcessException::wrongArgument(2002, ''); |
134 | 134 | } |
135 | 135 | //verifica se o evento pertence ao grupo indicado |
136 | - if (! in_array($evt->alias(), $this->grupos[$grupo])) { |
|
136 | + if (!in_array($evt->alias(), $this->grupos[$grupo])) { |
|
137 | 137 | throw new \RuntimeException( |
138 | 138 | 'O evento ' . $evt->alias() . ' não pertence a este grupo [ ' |
139 | 139 | . $this->eventGroup[$grupo] . ' ].' |
140 | 140 | ); |
141 | 141 | } |
142 | 142 | $this->checkCertificate($evt); |
143 | - $xml .= "<evento id=\"".$evt->getId()."\">"; |
|
143 | + $xml .= "<evento id=\"" . $evt->getId() . "\">"; |
|
144 | 144 | $xml .= $evt->toXML(); |
145 | 145 | $xml .= "</evento>"; |
146 | 146 | } |
147 | 147 | //build request |
148 | 148 | $request = "<Reinf xmlns=\"http://www.reinf.esocial.gov.br/schemas/envioLoteEventos/v" |
149 | - . $this->serviceVersion."\" >" |
|
149 | + . $this->serviceVersion . "\" >" |
|
150 | 150 | . "<loteEventos>" |
151 | 151 | . $xml |
152 | 152 | . "</loteEventos>" |