@@ -1278,7 +1278,7 @@ discard block |
||
| 1278 | 1278 | $std = $this->equilizeParameters($std, $possible); |
| 1279 | 1279 | $identificador = '#4 <infPercurso> - '; |
| 1280 | 1280 | $this->infPercurso[] = $this->dom->createElement('infPercurso'); |
| 1281 | - $posicao = (int)count($this->infPercurso) - 1; |
|
| 1281 | + $posicao = (int) count($this->infPercurso) - 1; |
|
| 1282 | 1282 | $this->dom->addChild( |
| 1283 | 1283 | $this->infPercurso[$posicao], |
| 1284 | 1284 | 'UFPer', |
@@ -1898,7 +1898,7 @@ discard block |
||
| 1898 | 1898 | $std = $this->equilizeParameters($std, $possible); |
| 1899 | 1899 | $identificador = '#65 <pass> - '; |
| 1900 | 1900 | $this->pass[] = $this->dom->createElement('pass'); |
| 1901 | - $posicao = (int)count($this->pass) - 1; |
|
| 1901 | + $posicao = (int) count($this->pass) - 1; |
|
| 1902 | 1902 | $this->dom->addChild( |
| 1903 | 1903 | $this->pass[$posicao], |
| 1904 | 1904 | 'xPass', |
@@ -2132,7 +2132,7 @@ discard block |
||
| 2132 | 2132 | $identificador = '#91 <ObsCont> - '; |
| 2133 | 2133 | if (count($this->obsCont) <= 10) { |
| 2134 | 2134 | $this->obsCont[] = $this->dom->createElement('ObsCont'); |
| 2135 | - $posicao = (int)count($this->obsCont) - 1; |
|
| 2135 | + $posicao = (int) count($this->obsCont) - 1; |
|
| 2136 | 2136 | $this->obsCont[$posicao]->setAttribute('xCampo', $std->xCampo); |
| 2137 | 2137 | $this->dom->addChild( |
| 2138 | 2138 | $this->obsCont[$posicao], |
@@ -2144,9 +2144,9 @@ discard block |
||
| 2144 | 2144 | return true; |
| 2145 | 2145 | } |
| 2146 | 2146 | $this->errors[] = array( |
| 2147 | - 'tag' => (string)'<ObsCont>', |
|
| 2148 | - 'desc' => (string)'Campo de uso livre do contribuinte', |
|
| 2149 | - 'erro' => (string)'Tag deve aparecer de 0 a 10 vezes' |
|
| 2147 | + 'tag' => (string) '<ObsCont>', |
|
| 2148 | + 'desc' => (string) 'Campo de uso livre do contribuinte', |
|
| 2149 | + 'erro' => (string) 'Tag deve aparecer de 0 a 10 vezes' |
|
| 2150 | 2150 | ); |
| 2151 | 2151 | return false; |
| 2152 | 2152 | } |
@@ -2170,7 +2170,7 @@ discard block |
||
| 2170 | 2170 | $identificador = '#94 <ObsFisco> - '; |
| 2171 | 2171 | if (count($this->obsFisco) <= 10) { |
| 2172 | 2172 | $this->obsFisco[] = $this->dom->createElement('ObsFisco'); |
| 2173 | - $posicao = (int)count($this->obsFisco) - 1; |
|
| 2173 | + $posicao = (int) count($this->obsFisco) - 1; |
|
| 2174 | 2174 | $this->obsFisco[$posicao]->setAttribute('xCampo', $std->xCampo); |
| 2175 | 2175 | $this->dom->addChild( |
| 2176 | 2176 | $this->obsFisco[$posicao], |
@@ -2182,9 +2182,9 @@ discard block |
||
| 2182 | 2182 | return true; |
| 2183 | 2183 | } |
| 2184 | 2184 | $this->errors[] = array( |
| 2185 | - 'tag' => (string)'<ObsFisco>', |
|
| 2186 | - 'desc' => (string)'Campo de uso livre do contribuinte', |
|
| 2187 | - 'erro' => (string)'Tag deve aparecer de 0 a 10 vezes' |
|
| 2185 | + 'tag' => (string) '<ObsFisco>', |
|
| 2186 | + 'desc' => (string) 'Campo de uso livre do contribuinte', |
|
| 2187 | + 'erro' => (string) 'Tag deve aparecer de 0 a 10 vezes' |
|
| 2188 | 2188 | ); |
| 2189 | 2189 | return false; |
| 2190 | 2190 | } |
@@ -3187,7 +3187,7 @@ discard block |
||
| 3187 | 3187 | $std = $this->equilizeParameters($std, $possible); |
| 3188 | 3188 | $identificador = '#65 <pass> - '; |
| 3189 | 3189 | $this->comp[] = $this->dom->createElement('Comp'); |
| 3190 | - $posicao = (int)count($this->comp) - 1; |
|
| 3190 | + $posicao = (int) count($this->comp) - 1; |
|
| 3191 | 3191 | $this->dom->addChild( |
| 3192 | 3192 | $this->comp[$posicao], |
| 3193 | 3193 | 'xNome', |
@@ -3776,7 +3776,7 @@ discard block |
||
| 3776 | 3776 | $std = $this->equilizeParameters($std, $possible); |
| 3777 | 3777 | $identificador = '#257 <infQ> - '; |
| 3778 | 3778 | $this->infQ[] = $this->dom->createElement('infQ'); |
| 3779 | - $posicao = (int)count($this->infQ) - 1; |
|
| 3779 | + $posicao = (int) count($this->infQ) - 1; |
|
| 3780 | 3780 | $this->dom->addChild( |
| 3781 | 3781 | $this->infQ[$posicao], |
| 3782 | 3782 | 'cUnid', |
@@ -4267,7 +4267,7 @@ discard block |
||
| 4267 | 4267 | $std = $this->equilizeParameters($std, $possible); |
| 4268 | 4268 | $ident = '#319 <infDocRef> - '; |
| 4269 | 4269 | $this->infDocRef[] = $this->dom->createElement('infDocRef'); |
| 4270 | - $posicao = (int)count($this->infDocRef) - 1; |
|
| 4270 | + $posicao = (int) count($this->infDocRef) - 1; |
|
| 4271 | 4271 | if (!empty($std->chBPe)) { |
| 4272 | 4272 | $this->dom->addChild( |
| 4273 | 4273 | $this->infDocRef[$posicao], |
@@ -4334,7 +4334,7 @@ discard block |
||
| 4334 | 4334 | $std = $this->equilizeParameters($std, $possible); |
| 4335 | 4335 | $identificador = '#345 <emiDocAnt> - '; |
| 4336 | 4336 | $this->emiDocAnt[] = $this->dom->createElement('emiDocAnt'); |
| 4337 | - $posicao = (int)count($this->emiDocAnt) - 1; |
|
| 4337 | + $posicao = (int) count($this->emiDocAnt) - 1; |
|
| 4338 | 4338 | if ($std->CNPJ != '') { |
| 4339 | 4339 | $this->dom->addChild( |
| 4340 | 4340 | $this->emiDocAnt[$posicao], |
@@ -4390,7 +4390,7 @@ discard block |
||
| 4390 | 4390 | $std = $this->equilizeParameters($std, $possible); |
| 4391 | 4391 | $identificador = '#358 <idDocAntEle> - '; |
| 4392 | 4392 | $this->idDocAntEle[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntEle'); |
| 4393 | - $posicao = (int)count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1; |
|
| 4393 | + $posicao = (int) count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1; |
|
| 4394 | 4394 | $this->dom->addChild( |
| 4395 | 4395 | $this->idDocAntEle[count($this->emiDocAnt) - 1][$posicao], |
| 4396 | 4396 | 'chCTe', |
@@ -4418,7 +4418,7 @@ discard block |
||
| 4418 | 4418 | $std = $this->equilizeParameters($std, $possible); |
| 4419 | 4419 | $identificador = '#360 <seg> - '; |
| 4420 | 4420 | $this->seg[] = $this->dom->createElement('seg'); |
| 4421 | - $posicao = (int)count($this->seg) - 1; |
|
| 4421 | + $posicao = (int) count($this->seg) - 1; |
|
| 4422 | 4422 | $this->dom->addChild( |
| 4423 | 4423 | $this->seg[$posicao], |
| 4424 | 4424 | 'respSeg', |
@@ -4461,7 +4461,7 @@ discard block |
||
| 4461 | 4461 | $std = $this->equilizeParameters($std, $possible); |
| 4462 | 4462 | $identificador = '#358 <idDocAntPap> - '; |
| 4463 | 4463 | $this->idDocAntPap[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntPap'); |
| 4464 | - $posicao = (int)count($this->idDocAntPap[count($this->emiDocAnt) - 1]) - 1; |
|
| 4464 | + $posicao = (int) count($this->idDocAntPap[count($this->emiDocAnt) - 1]) - 1; |
|
| 4465 | 4465 | $this->dom->addChild( |
| 4466 | 4466 | $this->idDocAntPap[count($this->emiDocAnt) - 1][$posicao], |
| 4467 | 4467 | 'tpDoc', |
@@ -4727,7 +4727,7 @@ discard block |
||
| 4727 | 4727 | $std = $this->equilizeParameters($std, $possible); |
| 4728 | 4728 | $identificador = '#12 <detCont> - '; |
| 4729 | 4729 | $this->lacre[count($this->detCont) - 1][] = $this->dom->createElement('lacre'); |
| 4730 | - $posicao = (int)count($this->lacre[count($this->detCont) - 1]) - 1; |
|
| 4730 | + $posicao = (int) count($this->lacre[count($this->detCont) - 1]) - 1; |
|
| 4731 | 4731 | $this->dom->addChild( |
| 4732 | 4732 | $this->lacre[count($this->detCont) - 1][$posicao], |
| 4733 | 4733 | 'nLacre', |
@@ -4754,7 +4754,7 @@ discard block |
||
| 4754 | 4754 | $std = $this->equilizeParameters($std, $possible); |
| 4755 | 4755 | $identificador = '#15 <detCont> <infNF> - '; |
| 4756 | 4756 | $this->infNFCont[count($this->detCont) - 1][] = $this->dom->createElement('infNF'); |
| 4757 | - $posicao = (int)count($this->infNFCont[count($this->detCont) - 1]) - 1; |
|
| 4757 | + $posicao = (int) count($this->infNFCont[count($this->detCont) - 1]) - 1; |
|
| 4758 | 4758 | $this->dom->addChild( |
| 4759 | 4759 | $this->infNFCont[count($this->detCont) - 1][$posicao], |
| 4760 | 4760 | 'serie', |
@@ -4791,7 +4791,7 @@ discard block |
||
| 4791 | 4791 | $std = $this->equilizeParameters($std, $possible); |
| 4792 | 4792 | $identificador = '#19 <infNFe> - '; |
| 4793 | 4793 | $this->infNFeCont[count($this->detCont) - 1][] = $this->dom->createElement('infNFe'); |
| 4794 | - $posicao = (int)count($this->infNFeCont[count($this->detCont) - 1]) - 1; |
|
| 4794 | + $posicao = (int) count($this->infNFeCont[count($this->detCont) - 1]) - 1; |
|
| 4795 | 4795 | $this->dom->addChild( |
| 4796 | 4796 | $this->infNFeCont[count($this->detCont) - 1][$posicao], |
| 4797 | 4797 | 'chave', |