Completed
Push — master ( 533603...d08d87 )
by
unknown
06:08 queued 04:05
created
src/Make.php 2 patches
Doc Comments   +12 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1056,7 +1056,6 @@  discard block
 block discarded – undo
1056 1056
      * e adiciona ao grupo ide
1057 1057
      * #35
1058 1058
      * Nível: 2
1059
-     * @param string $toma Tomador do Serviço
1060 1059
      * @param stdClass $std
1061 1060
      * @return \DOMElement
1062 1061
      */
@@ -1748,6 +1747,7 @@  discard block
 block discarded – undo
1748 1747
      * Os parâmetros para esta função são todos os elementos da tag "ObsCont" do
1749 1748
      * tipo elemento (Ele = E|CE|A) e nível 3
1750 1749
      *
1750
+     * @param stdClass $std
1751 1751
      * @return boolean
1752 1752
      */
1753 1753
     public function tagobsCont($std)
@@ -1781,6 +1781,7 @@  discard block
 block discarded – undo
1781 1781
      * Os parâmetros para esta função são todos os elementos da tag "ObsFisco" do tipo
1782 1782
      * elemento (Ele = E|CE|A) e nível 3
1783 1783
      *
1784
+     * @param stdClass $std
1784 1785
      * @return boolean
1785 1786
      */
1786 1787
     public function tagobsFisco($std)
@@ -1814,6 +1815,7 @@  discard block
 block discarded – undo
1814 1815
      * Os parâmetros para esta função são todos os elementos da tag "emit" do
1815 1816
      * tipo elemento (Ele = E|CE|A) e nível 2
1816 1817
      *
1818
+     * @param stdClass $std
1817 1819
      * @return \DOMElement
1818 1820
      */
1819 1821
     public function tagemit($std)
@@ -1865,6 +1867,7 @@  discard block
 block discarded – undo
1865 1867
      * Os parâmetros para esta função são todos os elementos da tag "enderEmit" do
1866 1868
      * tipo elemento (Ele = E|CE|A) e nível 3
1867 1869
      *
1870
+     * @param stdClass $std
1868 1871
      * @return \DOMElement
1869 1872
      */
1870 1873
     public function tagenderEmit($std)
@@ -2461,6 +2464,7 @@  discard block
 block discarded – undo
2461 2464
      * Os parâmetros para esta função são todos os elementos da tag "dest" do
2462 2465
      * tipo elemento (Ele = E|CE|A) e nível 2
2463 2466
      *
2467
+     * @param stdClass $std
2464 2468
      * @return \DOMElement
2465 2469
      */
2466 2470
     public function tagdest($std)
@@ -2550,6 +2554,7 @@  discard block
 block discarded – undo
2550 2554
      * Os parâmetros para esta função são todos os elementos da tag "enderDest" do
2551 2555
      * tipo elemento (Ele = E|CE|A) e nível 3
2552 2556
      *
2557
+     * @param stdClass $std
2553 2558
      * @return \DOMElement
2554 2559
      */
2555 2560
     public function tagenderDest($std)
@@ -2697,6 +2702,7 @@  discard block
 block discarded – undo
2697 2702
      * Informações relativas ao ICMS
2698 2703
      * #194
2699 2704
      *
2705
+     * @param stdClass $std
2700 2706
      * @return DOMElement
2701 2707
      */
2702 2708
     public function tagicms($std)
@@ -3160,6 +3166,7 @@  discard block
 block discarded – undo
3160 3166
      * Gera as tags para o elemento: "infNFe" (Informações das NF-e)
3161 3167
      * #297
3162 3168
      * Nível: 3
3169
+     * @param stdClass $std
3163 3170
      * @return mixed
3164 3171
      */
3165 3172
     public function taginfNFe($std)
@@ -3322,7 +3329,6 @@  discard block
 block discarded – undo
3322 3329
      * Gera as tags para o elemento: "infModal" (Informações do modal)
3323 3330
      * #366
3324 3331
      * Nível: 2
3325
-     * @param string $versaoModal
3326 3332
      * @return DOMElement|\DOMNode
3327 3333
      */
3328 3334
     public function taginfModal($std)
@@ -3490,7 +3496,6 @@  discard block
 block discarded – undo
3490 3496
 
3491 3497
     /**
3492 3498
      * CT-e de substituição - tomaICMS
3493
-     * @param type $std
3494 3499
      * @return type
3495 3500
      */
3496 3501
     public function tagtomaICMS()
@@ -3502,7 +3507,7 @@  discard block
 block discarded – undo
3502 3507
 
3503 3508
     /**
3504 3509
      * CT-e de substituição - NF-e
3505
-     * @param type $std
3510
+     * @param stdClass $std
3506 3511
      * @return type
3507 3512
      */
3508 3513
     public function tagrefNFe($std)
@@ -3524,7 +3529,7 @@  discard block
 block discarded – undo
3524 3529
 
3525 3530
     /**
3526 3531
      * CT-e de substituição - NF
3527
-     * @param type $std
3532
+     * @param stdClass $std
3528 3533
      * @return type
3529 3534
      */
3530 3535
     public function tagrefNF($std)
@@ -3567,7 +3572,7 @@  discard block
 block discarded – undo
3567 3572
 
3568 3573
     /**
3569 3574
      * CT-e de substituição - CT-e
3570
-     * @param type $std
3575
+     * @param stdClass $std
3571 3576
      * @return type
3572 3577
      */
3573 3578
     public function tagrefCTe($std)
@@ -3822,6 +3827,7 @@  discard block
 block discarded – undo
3822 3827
      * Nível: 1
3823 3828
      * Os parâmetros para esta função são todos os elementos da tag "autXML"
3824 3829
      *
3830
+     * @param stdClass $std
3825 3831
      * @return boolean
3826 3832
      */
3827 3833
     public function tagautXML($std)
Please login to merge, or discard this patch.
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -1137,7 +1137,7 @@  discard block
 block discarded – undo
1137 1137
     {
1138 1138
         $identificador = '#4 <infPercurso> - ';
1139 1139
         $this->infPercurso[] = $this->dom->createElement('infPercurso');
1140
-        $posicao = (int)count($this->infPercurso) - 1;
1140
+        $posicao = (int) count($this->infPercurso) - 1;
1141 1141
         $this->dom->addChild(
1142 1142
             $this->infPercurso[$posicao],
1143 1143
             'UFPer',
@@ -1654,7 +1654,7 @@  discard block
 block discarded – undo
1654 1654
     {
1655 1655
         $identificador = '#65 <pass> - ';
1656 1656
         $this->pass[] = $this->dom->createElement('pass');
1657
-        $posicao = (int)count($this->pass) - 1;
1657
+        $posicao = (int) count($this->pass) - 1;
1658 1658
         $this->dom->addChild(
1659 1659
             $this->pass[$posicao],
1660 1660
             'xPass',
@@ -1853,7 +1853,7 @@  discard block
 block discarded – undo
1853 1853
         $identificador = '#91 <ObsCont> - ';
1854 1854
         if (count($this->obsCont) <= 10) {
1855 1855
             $this->obsCont[] = $this->dom->createElement('ObsCont');
1856
-            $posicao = (int)count($this->obsCont) - 1;
1856
+            $posicao = (int) count($this->obsCont) - 1;
1857 1857
             $this->obsCont[$posicao]->setAttribute('xCampo', $std->xCampo);
1858 1858
             $this->dom->addChild(
1859 1859
                 $this->obsCont[$posicao],
@@ -1865,9 +1865,9 @@  discard block
 block discarded – undo
1865 1865
             return true;
1866 1866
         }
1867 1867
         $this->errors[] = array(
1868
-            'tag' => (string)'<ObsCont>',
1869
-            'desc' => (string)'Campo de uso livre do contribuinte',
1870
-            'erro' => (string)'Tag deve aparecer de 0 a 10 vezes'
1868
+            'tag' => (string) '<ObsCont>',
1869
+            'desc' => (string) 'Campo de uso livre do contribuinte',
1870
+            'erro' => (string) 'Tag deve aparecer de 0 a 10 vezes'
1871 1871
         );
1872 1872
         return false;
1873 1873
     }
@@ -1886,7 +1886,7 @@  discard block
 block discarded – undo
1886 1886
         $identificador = '#94 <ObsFisco> - ';
1887 1887
         if (count($this->obsFisco) <= 10) {
1888 1888
             $this->obsFisco[] = $this->dom->createElement('ObsFisco');
1889
-            $posicao = (int)count($this->obsFisco) - 1;
1889
+            $posicao = (int) count($this->obsFisco) - 1;
1890 1890
             $this->obsFisco[$posicao]->setAttribute('xCampo', $std->xCampo);
1891 1891
             $this->dom->addChild(
1892 1892
                 $this->obsFisco[$posicao],
@@ -1898,9 +1898,9 @@  discard block
 block discarded – undo
1898 1898
             return true;
1899 1899
         }
1900 1900
         $this->errors[] = array(
1901
-            'tag' => (string)'<ObsFisco>',
1902
-            'desc' => (string)'Campo de uso livre do contribuinte',
1903
-            'erro' => (string)'Tag deve aparecer de 0 a 10 vezes'
1901
+            'tag' => (string) '<ObsFisco>',
1902
+            'desc' => (string) 'Campo de uso livre do contribuinte',
1903
+            'erro' => (string) 'Tag deve aparecer de 0 a 10 vezes'
1904 1904
         );
1905 1905
         return false;
1906 1906
     }
@@ -2772,7 +2772,7 @@  discard block
 block discarded – undo
2772 2772
     {
2773 2773
         $identificador = '#65 <pass> - ';
2774 2774
         $this->comp[] = $this->dom->createElement('Comp');
2775
-        $posicao = (int)count($this->comp) - 1;
2775
+        $posicao = (int) count($this->comp) - 1;
2776 2776
         $this->dom->addChild(
2777 2777
             $this->comp[$posicao],
2778 2778
             'xNome',
@@ -3169,7 +3169,7 @@  discard block
 block discarded – undo
3169 3169
     {
3170 3170
         $identificador = '#257 <infQ> - ';
3171 3171
         $this->infQ[] = $this->dom->createElement('infQ');
3172
-        $posicao = (int)count($this->infQ) - 1;
3172
+        $posicao = (int) count($this->infQ) - 1;
3173 3173
         $this->dom->addChild($this->infQ[$posicao], 'cUnid', $std->cUnid, true, $identificador . 'Código da
3174 3174
             Unidade de Medida');
3175 3175
         $this->dom->addChild($this->infQ[$posicao], 'tpMed', $std->tpMed, true, $identificador . 'Tipo da Medida');
@@ -3215,7 +3215,7 @@  discard block
 block discarded – undo
3215 3215
     {
3216 3216
         $identificador = '#262 <infNF> - ';
3217 3217
         $this->infNF[] = $this->dom->createElement('infNF');
3218
-        $posicao = (int)count($this->infNF) - 1;
3218
+        $posicao = (int) count($this->infNF) - 1;
3219 3219
 
3220 3220
         $this->dom->addChild($this->infNF[$posicao], 'nRoma', $std->nRoma, false, $identificador . 'Número do
3221 3221
             Romaneio da NF');
@@ -3256,7 +3256,7 @@  discard block
 block discarded – undo
3256 3256
     {
3257 3257
         $identificador = '#297 <infNFe> - ';
3258 3258
         $this->infNFe[] = $this->dom->createElement('infNFe');
3259
-        $posicao = (int)count($this->infNFe) - 1;
3259
+        $posicao = (int) count($this->infNFe) - 1;
3260 3260
         $this->dom->addChild(
3261 3261
             $this->infNFe[$posicao],
3262 3262
             'chave',
@@ -3291,7 +3291,7 @@  discard block
 block discarded – undo
3291 3291
     {
3292 3292
         $ident = '#319 <infOutros> - ';
3293 3293
         $this->infOutros[] = $this->dom->createElement('infOutros');
3294
-        $posicao = (int)count($this->infOutros) - 1;
3294
+        $posicao = (int) count($this->infOutros) - 1;
3295 3295
         $this->dom->addChild($this->infOutros[$posicao], 'tpDoc', $std->tpDoc, true, $ident . 'Tipo '
3296 3296
             . 'de documento originário');
3297 3297
         $this->dom->addChild($this->infOutros[$posicao], 'descOutros', $std->descOutros, false, $ident . 'Descrição '
@@ -3316,7 +3316,7 @@  discard block
 block discarded – undo
3316 3316
     {
3317 3317
         $ident = '#319 <infDocRef> - ';
3318 3318
         $this->infDocRef[] = $this->dom->createElement('infDocRef');
3319
-        $posicao = (int)count($this->infDocRef) - 1;
3319
+        $posicao = (int) count($this->infDocRef) - 1;
3320 3320
         $this->dom->addChild($this->infDocRef[$posicao], 'nDoc', $std->nDoc, false, $ident . 'Número '
3321 3321
             . 'do documento');
3322 3322
         $this->dom->addChild($this->infDocRef[$posicao], 'serie', $std->serie, false, $ident . 'Série '
@@ -3339,7 +3339,7 @@  discard block
 block discarded – undo
3339 3339
     {
3340 3340
         $identificador = '#345 <emiDocAnt> - ';
3341 3341
         $this->emiDocAnt[] = $this->dom->createElement('emiDocAnt');
3342
-        $posicao = (int)count($this->emiDocAnt) - 1;
3342
+        $posicao = (int) count($this->emiDocAnt) - 1;
3343 3343
         if ($std->CNPJ != '') {
3344 3344
             $this->dom->addChild(
3345 3345
                 $this->emiDocAnt[$posicao],
@@ -3380,7 +3380,7 @@  discard block
 block discarded – undo
3380 3380
     {
3381 3381
         $identificador = '#358 <idDocAntEle> - ';
3382 3382
         $this->idDocAntEle[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntEle');
3383
-        $posicao = (int)count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1;
3383
+        $posicao = (int) count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1;
3384 3384
         $this->dom->addChild($this->idDocAntEle[count($this->emiDocAnt) - 1][$posicao], 'chCTe', $std->chCTe, true, $identificador . 'Chave de Acesso do CT-e');
3385 3385
         return $this->idDocAntEle[count($this->emiDocAnt) - 1][$posicao];
3386 3386
     }
@@ -3396,7 +3396,7 @@  discard block
 block discarded – undo
3396 3396
     {
3397 3397
         $identificador = '#360 <seg> - ';
3398 3398
         $this->seg[] = $this->dom->createElement('seg');
3399
-        $posicao = (int)count($this->seg) - 1;
3399
+        $posicao = (int) count($this->seg) - 1;
3400 3400
 
3401 3401
         $this->dom->addChild($this->seg[$posicao], 'respSeg', $std->respSeg, true, $identificador . 'Responsável
3402 3402
             pelo Seguro');
@@ -3417,7 +3417,7 @@  discard block
 block discarded – undo
3417 3417
         $identificador = '#358 <idDocAntPap> - ';
3418 3418
 
3419 3419
         $this->idDocAntPap[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntPap');
3420
-        $posicao = (int)count($this->idDocAntPap[count($this->emiDocAnt) - 1]) - 1;
3420
+        $posicao = (int) count($this->idDocAntPap[count($this->emiDocAnt) - 1]) - 1;
3421 3421
 
3422 3422
         $this->dom->addChild($this->idDocAntPap[count($this->emiDocAnt) - 1][$posicao], 'tpDoc', $std->tpDoc, true, $identificador . 'Tipo do Documento de Transporte Anterior');
3423 3423
         $this->dom->addChild($this->idDocAntPap[count($this->emiDocAnt) - 1][$posicao], 'serie', $std->serie, true, $identificador . 'Série do Documento Fiscal');
Please login to merge, or discard this patch.