@@ -1176,7 +1176,7 @@ discard block |
||
| 1176 | 1176 | |
| 1177 | 1177 | $identificador = '#4 <infPercurso> - '; |
| 1178 | 1178 | $this->infPercurso[] = $this->dom->createElement('infPercurso'); |
| 1179 | - $posicao = (int)count($this->infPercurso) - 1; |
|
| 1179 | + $posicao = (int) count($this->infPercurso) - 1; |
|
| 1180 | 1180 | $this->dom->addChild( |
| 1181 | 1181 | $this->infPercurso[$posicao], |
| 1182 | 1182 | 'UFPer', |
@@ -1791,7 +1791,7 @@ discard block |
||
| 1791 | 1791 | |
| 1792 | 1792 | $identificador = '#65 <pass> - '; |
| 1793 | 1793 | $this->pass[] = $this->dom->createElement('pass'); |
| 1794 | - $posicao = (int)count($this->pass) - 1; |
|
| 1794 | + $posicao = (int) count($this->pass) - 1; |
|
| 1795 | 1795 | $this->dom->addChild( |
| 1796 | 1796 | $this->pass[$posicao], |
| 1797 | 1797 | 'xPass', |
@@ -2046,7 +2046,7 @@ discard block |
||
| 2046 | 2046 | $identificador = '#91 <ObsCont> - '; |
| 2047 | 2047 | if (count($this->obsCont) <= 10) { |
| 2048 | 2048 | $this->obsCont[] = $this->dom->createElement('ObsCont'); |
| 2049 | - $posicao = (int)count($this->obsCont) - 1; |
|
| 2049 | + $posicao = (int) count($this->obsCont) - 1; |
|
| 2050 | 2050 | $this->obsCont[$posicao]->setAttribute('xCampo', $std->xCampo); |
| 2051 | 2051 | $this->dom->addChild( |
| 2052 | 2052 | $this->obsCont[$posicao], |
@@ -2058,9 +2058,9 @@ discard block |
||
| 2058 | 2058 | return true; |
| 2059 | 2059 | } |
| 2060 | 2060 | $this->errors[] = array( |
| 2061 | - 'tag' => (string)'<ObsCont>', |
|
| 2062 | - 'desc' => (string)'Campo de uso livre do contribuinte', |
|
| 2063 | - 'erro' => (string)'Tag deve aparecer de 0 a 10 vezes' |
|
| 2061 | + 'tag' => (string) '<ObsCont>', |
|
| 2062 | + 'desc' => (string) 'Campo de uso livre do contribuinte', |
|
| 2063 | + 'erro' => (string) 'Tag deve aparecer de 0 a 10 vezes' |
|
| 2064 | 2064 | ); |
| 2065 | 2065 | return false; |
| 2066 | 2066 | } |
@@ -2087,7 +2087,7 @@ discard block |
||
| 2087 | 2087 | $identificador = '#94 <ObsFisco> - '; |
| 2088 | 2088 | if (count($this->obsFisco) <= 10) { |
| 2089 | 2089 | $this->obsFisco[] = $this->dom->createElement('ObsFisco'); |
| 2090 | - $posicao = (int)count($this->obsFisco) - 1; |
|
| 2090 | + $posicao = (int) count($this->obsFisco) - 1; |
|
| 2091 | 2091 | $this->obsFisco[$posicao]->setAttribute('xCampo', $std->xCampo); |
| 2092 | 2092 | $this->dom->addChild( |
| 2093 | 2093 | $this->obsFisco[$posicao], |
@@ -2099,9 +2099,9 @@ discard block |
||
| 2099 | 2099 | return true; |
| 2100 | 2100 | } |
| 2101 | 2101 | $this->errors[] = array( |
| 2102 | - 'tag' => (string)'<ObsFisco>', |
|
| 2103 | - 'desc' => (string)'Campo de uso livre do contribuinte', |
|
| 2104 | - 'erro' => (string)'Tag deve aparecer de 0 a 10 vezes' |
|
| 2102 | + 'tag' => (string) '<ObsFisco>', |
|
| 2103 | + 'desc' => (string) 'Campo de uso livre do contribuinte', |
|
| 2104 | + 'erro' => (string) 'Tag deve aparecer de 0 a 10 vezes' |
|
| 2105 | 2105 | ); |
| 2106 | 2106 | return false; |
| 2107 | 2107 | } |
@@ -3129,7 +3129,7 @@ discard block |
||
| 3129 | 3129 | |
| 3130 | 3130 | $identificador = '#65 <pass> - '; |
| 3131 | 3131 | $this->comp[] = $this->dom->createElement('Comp'); |
| 3132 | - $posicao = (int)count($this->comp) - 1; |
|
| 3132 | + $posicao = (int) count($this->comp) - 1; |
|
| 3133 | 3133 | $this->dom->addChild( |
| 3134 | 3134 | $this->comp[$posicao], |
| 3135 | 3135 | 'xNome', |
@@ -3579,7 +3579,7 @@ discard block |
||
| 3579 | 3579 | |
| 3580 | 3580 | $identificador = '#257 <infQ> - '; |
| 3581 | 3581 | $this->infQ[] = $this->dom->createElement('infQ'); |
| 3582 | - $posicao = (int)count($this->infQ) - 1; |
|
| 3582 | + $posicao = (int) count($this->infQ) - 1; |
|
| 3583 | 3583 | $this->dom->addChild( |
| 3584 | 3584 | $this->infQ[$posicao], |
| 3585 | 3585 | 'cUnid', |
@@ -3669,7 +3669,7 @@ discard block |
||
| 3669 | 3669 | |
| 3670 | 3670 | $identificador = '#262 <infNF> - '; |
| 3671 | 3671 | $this->infNF[] = $this->dom->createElement('infNF'); |
| 3672 | - $posicao = (int)count($this->infNF) - 1; |
|
| 3672 | + $posicao = (int) count($this->infNF) - 1; |
|
| 3673 | 3673 | $this->dom->addChild( |
| 3674 | 3674 | $this->infNF[$posicao], |
| 3675 | 3675 | 'nRoma', |
@@ -3802,7 +3802,7 @@ discard block |
||
| 3802 | 3802 | |
| 3803 | 3803 | $identificador = '#297 <infNFe> - '; |
| 3804 | 3804 | $this->infNFe[] = $this->dom->createElement('infNFe'); |
| 3805 | - $posicao = (int)count($this->infNFe) - 1; |
|
| 3805 | + $posicao = (int) count($this->infNFe) - 1; |
|
| 3806 | 3806 | $this->dom->addChild( |
| 3807 | 3807 | $this->infNFe[$posicao], |
| 3808 | 3808 | 'chave', |
@@ -3849,7 +3849,7 @@ discard block |
||
| 3849 | 3849 | |
| 3850 | 3850 | $ident = '#319 <infOutros> - '; |
| 3851 | 3851 | $this->infOutros[] = $this->dom->createElement('infOutros'); |
| 3852 | - $posicao = (int)count($this->infOutros) - 1; |
|
| 3852 | + $posicao = (int) count($this->infOutros) - 1; |
|
| 3853 | 3853 | $this->dom->addChild( |
| 3854 | 3854 | $this->infOutros[$posicao], |
| 3855 | 3855 | 'tpDoc', |
@@ -3916,7 +3916,7 @@ discard block |
||
| 3916 | 3916 | |
| 3917 | 3917 | $ident = '#319 <infDocRef> - '; |
| 3918 | 3918 | $this->infDocRef[] = $this->dom->createElement('infDocRef'); |
| 3919 | - $posicao = (int)count($this->infDocRef) - 1; |
|
| 3919 | + $posicao = (int) count($this->infDocRef) - 1; |
|
| 3920 | 3920 | $this->dom->addChild( |
| 3921 | 3921 | $this->infDocRef[$posicao], |
| 3922 | 3922 | 'nDoc', |
@@ -3976,7 +3976,7 @@ discard block |
||
| 3976 | 3976 | |
| 3977 | 3977 | $identificador = '#345 <emiDocAnt> - '; |
| 3978 | 3978 | $this->emiDocAnt[] = $this->dom->createElement('emiDocAnt'); |
| 3979 | - $posicao = (int)count($this->emiDocAnt) - 1; |
|
| 3979 | + $posicao = (int) count($this->emiDocAnt) - 1; |
|
| 3980 | 3980 | if ($std->CNPJ != '') { |
| 3981 | 3981 | $this->dom->addChild( |
| 3982 | 3982 | $this->emiDocAnt[$posicao], |
@@ -4035,7 +4035,7 @@ discard block |
||
| 4035 | 4035 | |
| 4036 | 4036 | $identificador = '#358 <idDocAntEle> - '; |
| 4037 | 4037 | $this->idDocAntEle[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntEle'); |
| 4038 | - $posicao = (int)count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1; |
|
| 4038 | + $posicao = (int) count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1; |
|
| 4039 | 4039 | $this->dom->addChild( |
| 4040 | 4040 | $this->idDocAntEle[count($this->emiDocAnt) - 1][$posicao], |
| 4041 | 4041 | 'chCTe', |
@@ -4066,7 +4066,7 @@ discard block |
||
| 4066 | 4066 | |
| 4067 | 4067 | $identificador = '#360 <seg> - '; |
| 4068 | 4068 | $this->seg[] = $this->dom->createElement('seg'); |
| 4069 | - $posicao = (int)count($this->seg) - 1; |
|
| 4069 | + $posicao = (int) count($this->seg) - 1; |
|
| 4070 | 4070 | $this->dom->addChild( |
| 4071 | 4071 | $this->seg[$posicao], |
| 4072 | 4072 | 'respSeg', |
@@ -4112,7 +4112,7 @@ discard block |
||
| 4112 | 4112 | |
| 4113 | 4113 | $identificador = '#358 <idDocAntPap> - '; |
| 4114 | 4114 | $this->idDocAntPap[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntPap'); |
| 4115 | - $posicao = (int)count($this->idDocAntPap[count($this->emiDocAnt) - 1]) - 1; |
|
| 4115 | + $posicao = (int) count($this->idDocAntPap[count($this->emiDocAnt) - 1]) - 1; |
|
| 4116 | 4116 | $this->dom->addChild( |
| 4117 | 4117 | $this->idDocAntPap[count($this->emiDocAnt) - 1][$posicao], |
| 4118 | 4118 | 'tpDoc', |