@@ -1228,7 +1228,7 @@ discard block |
||
| 1228 | 1228 | |
| 1229 | 1229 | $identificador = '#4 <infPercurso> - '; |
| 1230 | 1230 | $this->infPercurso[] = $this->dom->createElement('infPercurso'); |
| 1231 | - $posicao = (int)count($this->infPercurso) - 1; |
|
| 1231 | + $posicao = (int) count($this->infPercurso) - 1; |
|
| 1232 | 1232 | $this->dom->addChild( |
| 1233 | 1233 | $this->infPercurso[$posicao], |
| 1234 | 1234 | 'UFPer', |
@@ -1873,7 +1873,7 @@ discard block |
||
| 1873 | 1873 | |
| 1874 | 1874 | $identificador = '#65 <pass> - '; |
| 1875 | 1875 | $this->pass[] = $this->dom->createElement('pass'); |
| 1876 | - $posicao = (int)count($this->pass) - 1; |
|
| 1876 | + $posicao = (int) count($this->pass) - 1; |
|
| 1877 | 1877 | $this->dom->addChild( |
| 1878 | 1878 | $this->pass[$posicao], |
| 1879 | 1879 | 'xPass', |
@@ -2128,7 +2128,7 @@ discard block |
||
| 2128 | 2128 | $identificador = '#91 <ObsCont> - '; |
| 2129 | 2129 | if (count($this->obsCont) <= 10) { |
| 2130 | 2130 | $this->obsCont[] = $this->dom->createElement('ObsCont'); |
| 2131 | - $posicao = (int)count($this->obsCont) - 1; |
|
| 2131 | + $posicao = (int) count($this->obsCont) - 1; |
|
| 2132 | 2132 | $this->obsCont[$posicao]->setAttribute('xCampo', $std->xCampo); |
| 2133 | 2133 | $this->dom->addChild( |
| 2134 | 2134 | $this->obsCont[$posicao], |
@@ -2140,9 +2140,9 @@ discard block |
||
| 2140 | 2140 | return true; |
| 2141 | 2141 | } |
| 2142 | 2142 | $this->errors[] = array( |
| 2143 | - 'tag' => (string)'<ObsCont>', |
|
| 2144 | - 'desc' => (string)'Campo de uso livre do contribuinte', |
|
| 2145 | - 'erro' => (string)'Tag deve aparecer de 0 a 10 vezes' |
|
| 2143 | + 'tag' => (string) '<ObsCont>', |
|
| 2144 | + 'desc' => (string) 'Campo de uso livre do contribuinte', |
|
| 2145 | + 'erro' => (string) 'Tag deve aparecer de 0 a 10 vezes' |
|
| 2146 | 2146 | ); |
| 2147 | 2147 | return false; |
| 2148 | 2148 | } |
@@ -2169,7 +2169,7 @@ discard block |
||
| 2169 | 2169 | $identificador = '#94 <ObsFisco> - '; |
| 2170 | 2170 | if (count($this->obsFisco) <= 10) { |
| 2171 | 2171 | $this->obsFisco[] = $this->dom->createElement('ObsFisco'); |
| 2172 | - $posicao = (int)count($this->obsFisco) - 1; |
|
| 2172 | + $posicao = (int) count($this->obsFisco) - 1; |
|
| 2173 | 2173 | $this->obsFisco[$posicao]->setAttribute('xCampo', $std->xCampo); |
| 2174 | 2174 | $this->dom->addChild( |
| 2175 | 2175 | $this->obsFisco[$posicao], |
@@ -2181,9 +2181,9 @@ discard block |
||
| 2181 | 2181 | return true; |
| 2182 | 2182 | } |
| 2183 | 2183 | $this->errors[] = array( |
| 2184 | - 'tag' => (string)'<ObsFisco>', |
|
| 2185 | - 'desc' => (string)'Campo de uso livre do contribuinte', |
|
| 2186 | - 'erro' => (string)'Tag deve aparecer de 0 a 10 vezes' |
|
| 2184 | + 'tag' => (string) '<ObsFisco>', |
|
| 2185 | + 'desc' => (string) 'Campo de uso livre do contribuinte', |
|
| 2186 | + 'erro' => (string) 'Tag deve aparecer de 0 a 10 vezes' |
|
| 2187 | 2187 | ); |
| 2188 | 2188 | return false; |
| 2189 | 2189 | } |
@@ -3211,7 +3211,7 @@ discard block |
||
| 3211 | 3211 | |
| 3212 | 3212 | $identificador = '#65 <pass> - '; |
| 3213 | 3213 | $this->comp[] = $this->dom->createElement('Comp'); |
| 3214 | - $posicao = (int)count($this->comp) - 1; |
|
| 3214 | + $posicao = (int) count($this->comp) - 1; |
|
| 3215 | 3215 | $this->dom->addChild( |
| 3216 | 3216 | $this->comp[$posicao], |
| 3217 | 3217 | 'xNome', |
@@ -3672,7 +3672,7 @@ discard block |
||
| 3672 | 3672 | |
| 3673 | 3673 | $identificador = '#257 <infQ> - '; |
| 3674 | 3674 | $this->infQ[] = $this->dom->createElement('infQ'); |
| 3675 | - $posicao = (int)count($this->infQ) - 1; |
|
| 3675 | + $posicao = (int) count($this->infQ) - 1; |
|
| 3676 | 3676 | $this->dom->addChild( |
| 3677 | 3677 | $this->infQ[$posicao], |
| 3678 | 3678 | 'cUnid', |
@@ -4171,7 +4171,7 @@ discard block |
||
| 4171 | 4171 | |
| 4172 | 4172 | $ident = '#319 <infDocRef> - '; |
| 4173 | 4173 | $this->infDocRef[] = $this->dom->createElement('infDocRef'); |
| 4174 | - $posicao = (int)count($this->infDocRef) - 1; |
|
| 4174 | + $posicao = (int) count($this->infDocRef) - 1; |
|
| 4175 | 4175 | $this->dom->addChild( |
| 4176 | 4176 | $this->infDocRef[$posicao], |
| 4177 | 4177 | 'nDoc', |
@@ -4231,7 +4231,7 @@ discard block |
||
| 4231 | 4231 | |
| 4232 | 4232 | $identificador = '#345 <emiDocAnt> - '; |
| 4233 | 4233 | $this->emiDocAnt[] = $this->dom->createElement('emiDocAnt'); |
| 4234 | - $posicao = (int)count($this->emiDocAnt) - 1; |
|
| 4234 | + $posicao = (int) count($this->emiDocAnt) - 1; |
|
| 4235 | 4235 | if ($std->CNPJ != '') { |
| 4236 | 4236 | $this->dom->addChild( |
| 4237 | 4237 | $this->emiDocAnt[$posicao], |
@@ -4290,7 +4290,7 @@ discard block |
||
| 4290 | 4290 | |
| 4291 | 4291 | $identificador = '#358 <idDocAntEle> - '; |
| 4292 | 4292 | $this->idDocAntEle[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntEle'); |
| 4293 | - $posicao = (int)count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1; |
|
| 4293 | + $posicao = (int) count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1; |
|
| 4294 | 4294 | $this->dom->addChild( |
| 4295 | 4295 | $this->idDocAntEle[count($this->emiDocAnt) - 1][$posicao], |
| 4296 | 4296 | 'chCTe', |
@@ -4321,7 +4321,7 @@ discard block |
||
| 4321 | 4321 | |
| 4322 | 4322 | $identificador = '#360 <seg> - '; |
| 4323 | 4323 | $this->seg[] = $this->dom->createElement('seg'); |
| 4324 | - $posicao = (int)count($this->seg) - 1; |
|
| 4324 | + $posicao = (int) count($this->seg) - 1; |
|
| 4325 | 4325 | $this->dom->addChild( |
| 4326 | 4326 | $this->seg[$posicao], |
| 4327 | 4327 | 'respSeg', |
@@ -4367,7 +4367,7 @@ discard block |
||
| 4367 | 4367 | |
| 4368 | 4368 | $identificador = '#358 <idDocAntPap> - '; |
| 4369 | 4369 | $this->idDocAntPap[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntPap'); |
| 4370 | - $posicao = (int)count($this->idDocAntPap[count($this->emiDocAnt) - 1]) - 1; |
|
| 4370 | + $posicao = (int) count($this->idDocAntPap[count($this->emiDocAnt) - 1]) - 1; |
|
| 4371 | 4371 | $this->dom->addChild( |
| 4372 | 4372 | $this->idDocAntPap[count($this->emiDocAnt) - 1][$posicao], |
| 4373 | 4373 | 'tpDoc', |
@@ -4648,7 +4648,7 @@ discard block |
||
| 4648 | 4648 | |
| 4649 | 4649 | $identificador = '#12 <detCont> - '; |
| 4650 | 4650 | $this->lacre[count($this->detCont) - 1][] = $this->dom->createElement('lacre'); |
| 4651 | - $posicao = (int)count($this->lacre[count($this->detCont) - 1]) - 1; |
|
| 4651 | + $posicao = (int) count($this->lacre[count($this->detCont) - 1]) - 1; |
|
| 4652 | 4652 | |
| 4653 | 4653 | $this->dom->addChild( |
| 4654 | 4654 | $this->lacre[count($this->detCont) - 1][$posicao], |
@@ -4676,7 +4676,7 @@ discard block |
||
| 4676 | 4676 | $std = $this->equilizeParameters($std, $possible); |
| 4677 | 4677 | $identificador = '#15 <detCont> <infNF> - '; |
| 4678 | 4678 | $this->infNFCont[count($this->detCont) - 1][] = $this->dom->createElement('infNF'); |
| 4679 | - $posicao = (int)count($this->infNFCont[count($this->detCont) - 1]) - 1; |
|
| 4679 | + $posicao = (int) count($this->infNFCont[count($this->detCont) - 1]) - 1; |
|
| 4680 | 4680 | |
| 4681 | 4681 | $this->dom->addChild( |
| 4682 | 4682 | $this->infNFCont[count($this->detCont) - 1][$posicao], |
@@ -4715,7 +4715,7 @@ discard block |
||
| 4715 | 4715 | $std = $this->equilizeParameters($std, $possible); |
| 4716 | 4716 | $identificador = '#19 <infNFe> - '; |
| 4717 | 4717 | $this->infNFeCont[count($this->detCont) - 1][] = $this->dom->createElement('infNFe'); |
| 4718 | - $posicao = (int)count($this->infNFeCont[count($this->detCont) - 1]) - 1; |
|
| 4718 | + $posicao = (int) count($this->infNFeCont[count($this->detCont) - 1]) - 1; |
|
| 4719 | 4719 | |
| 4720 | 4720 | $this->dom->addChild( |
| 4721 | 4721 | $this->infNFeCont[count($this->detCont) - 1][$posicao], |