Completed
Push — master ( 301f45...c6621a )
by
unknown
03:53
created
src/Make.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1176,7 +1176,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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',
@@ -4079,7 +4079,7 @@  discard block
 block discarded – undo
4079 4079
 
4080 4080
         $ident = '#319 <infDocRef> - ';
4081 4081
         $this->infDocRef[] = $this->dom->createElement('infDocRef');
4082
-        $posicao = (int)count($this->infDocRef) - 1;
4082
+        $posicao = (int) count($this->infDocRef) - 1;
4083 4083
         $this->dom->addChild(
4084 4084
             $this->infDocRef[$posicao],
4085 4085
             'nDoc',
@@ -4139,7 +4139,7 @@  discard block
 block discarded – undo
4139 4139
 
4140 4140
         $identificador = '#345 <emiDocAnt> - ';
4141 4141
         $this->emiDocAnt[] = $this->dom->createElement('emiDocAnt');
4142
-        $posicao = (int)count($this->emiDocAnt) - 1;
4142
+        $posicao = (int) count($this->emiDocAnt) - 1;
4143 4143
         if ($std->CNPJ != '') {
4144 4144
             $this->dom->addChild(
4145 4145
                 $this->emiDocAnt[$posicao],
@@ -4198,7 +4198,7 @@  discard block
 block discarded – undo
4198 4198
 
4199 4199
         $identificador = '#358 <idDocAntEle> - ';
4200 4200
         $this->idDocAntEle[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntEle');
4201
-        $posicao = (int)count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1;
4201
+        $posicao = (int) count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1;
4202 4202
         $this->dom->addChild(
4203 4203
             $this->idDocAntEle[count($this->emiDocAnt) - 1][$posicao],
4204 4204
             'chCTe',
@@ -4229,7 +4229,7 @@  discard block
 block discarded – undo
4229 4229
 
4230 4230
         $identificador = '#360 <seg> - ';
4231 4231
         $this->seg[] = $this->dom->createElement('seg');
4232
-        $posicao = (int)count($this->seg) - 1;
4232
+        $posicao = (int) count($this->seg) - 1;
4233 4233
         $this->dom->addChild(
4234 4234
             $this->seg[$posicao],
4235 4235
             'respSeg',
@@ -4275,7 +4275,7 @@  discard block
 block discarded – undo
4275 4275
 
4276 4276
         $identificador = '#358 <idDocAntPap> - ';
4277 4277
         $this->idDocAntPap[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntPap');
4278
-        $posicao = (int)count($this->idDocAntPap[count($this->emiDocAnt) - 1]) - 1;
4278
+        $posicao = (int) count($this->idDocAntPap[count($this->emiDocAnt) - 1]) - 1;
4279 4279
         $this->dom->addChild(
4280 4280
             $this->idDocAntPap[count($this->emiDocAnt) - 1][$posicao],
4281 4281
             'tpDoc',
Please login to merge, or discard this patch.