Completed
Push — master ( 3d8201...9a58f2 )
by Roberto
8s
created
src/Auxiliar/Response.php 1 patch
Doc Comments   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @param  string $method
25 25
      * @param  string $xmlResp
26
-     * @param  mixed  $parametro
27 26
      * @return array
28 27
      */
29 28
     public static function readReturnSefaz($method, $xmlResp)
@@ -57,7 +56,7 @@  discard block
 block discarded – undo
57 56
     /**
58 57
      * zReadRecepcaoLote
59 58
      *
60
-     * @param  DOMDocument $dom
59
+     * @param  Dom $dom
61 60
      * @return boolean
62 61
      */
63 62
     protected static function zReadRecepcaoLote($dom)
@@ -98,7 +97,7 @@  discard block
 block discarded – undo
98 97
     /**
99 98
      * zReadRetRecepcao
100 99
      *
101
-     * @param  DOMDocument $dom
100
+     * @param  Dom $dom
102 101
      * @return array
103 102
      */
104 103
     protected static function zReadRetRecepcao($dom)
@@ -136,7 +135,7 @@  discard block
 block discarded – undo
136 135
     /**
137 136
      * zReadConsultaMDF
138 137
      *
139
-     * @param  DOMDocument $dom
138
+     * @param  Dom $dom
140 139
      * @return string
141 140
      */
142 141
     protected static function zReadConsultaMDF($dom)
@@ -181,7 +180,7 @@  discard block
 block discarded – undo
181 180
     /**
182 181
      * zReadStatusServico
183 182
      *
184
-     * @param  DOMDocument $dom
183
+     * @param  Dom $dom
185 184
      * @return string|boolean
186 185
      */
187 186
     protected static function zReadStatusServico($dom)
@@ -221,7 +220,7 @@  discard block
 block discarded – undo
221 220
     /**
222 221
      * zReadRecepcaoEvento
223 222
      *
224
-     * @param  DOMDocument $dom
223
+     * @param  Dom $dom
225 224
      * @return string
226 225
      */
227 226
     protected static function zReadRecepcaoEvento($dom)
@@ -259,7 +258,7 @@  discard block
 block discarded – undo
259 258
     /**
260 259
      * zReadConsNaoEnc
261 260
      *
262
-     * @param  DOMDocument $dom
261
+     * @param  Dom $dom
263 262
      * @return boolean
264 263
      */
265 264
     protected static function zReadConsNaoEnc($dom)
Please login to merge, or discard this patch.
src/Mail.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -86,9 +86,7 @@
 block discarded – undo
86 86
      *
87 87
      * @param  string $xNome
88 88
      * @param  string $data
89
-     * @param  string $nNF
90 89
      * @param  string $serie
91
-     * @param  string $vNF
92 90
      * @param  string $razao
93 91
      * @return string
94 92
      */
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,10 +22,9 @@
 block discarded – undo
22 22
  *
23 23
  */
24 24
 
25
-use NFePHP\Common\Dom\Dom;
26
-use NFePHP\Common\DateTime\DateTime;
27
-use NFePHP\Common\Base\BaseMail;
28 25
 use Html2Text\Html2Text;
26
+use NFePHP\Common\DateTime\DateTime;
27
+use NFePHP\Common\Dom\Dom;
29 28
 use \DOMDocument;
30 29
 
31 30
 class Mail
Please login to merge, or discard this patch.
src/Make.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
  * @author    Roberto L. Machado <linux.rlm at gmail dot com>
19 19
  */
20 20
 
21
-use NFePHP\Common\DateTime\DateTime;
22 21
 use NFePHP\Common\Base\BaseMake;
22
+use NFePHP\Common\DateTime\DateTime;
23 23
 use \DOMDocument;
24 24
 use \DOMElement;
25 25
 
Please login to merge, or discard this patch.
Doc Comments   +7 added lines, -14 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
      * tag MDFe/infMDFe/ide
150 150
      *
151 151
      * @param  string $cUF
152
-     * @param  string $tbAmb
152
+     * @param  string $tpAmb
153 153
      * @param  string $tpEmit
154 154
      * @param  string $mod
155 155
      * @param  string $serie
@@ -358,14 +358,9 @@  discard block
 block discarded – undo
358 358
      * tag MDFe/infMDFe/emit
359 359
      *
360 360
      * @param  string $cnpj
361
-     * @param  string $cpf
362 361
      * @param  string $xNome
363 362
      * @param  string $xFant
364 363
      * @param  string $numIE
365
-     * @param  string $numIEST
366
-     * @param  string $numIM
367
-     * @param  string $cnae
368
-     * @param  string $crt
369 364
      * @return DOMElement
370 365
      */
371 366
     public function tagemit(
@@ -491,7 +486,6 @@  discard block
 block discarded – undo
491 486
      * tagInfMunDescarga
492 487
      * tag MDFe/infMDFe/infDoc/infMunDescarga
493 488
      *
494
-     * @param  integer $item
495 489
      * @param  string  $cMunDescarga
496 490
      * @param  string  $xMunDescarga
497 491
      * @return DOMElement
@@ -557,13 +551,13 @@  discard block
 block discarded – undo
557 551
      * tagInfCT
558 552
      * tag MDFe/infMDFe/infDoc/infMunDescarga/infCT
559 553
      *
560
-     * @param  string $nItem
554
+     * @param  integer $nItem
561 555
      * @param  string $nCT
562 556
      * @param  string $serie
563 557
      * @param  string $subser
564 558
      * @param  string $dEmi
565 559
      * @param  string $vCarga
566
-     * @return string
560
+     * @return DOMElement
567 561
      */
568 562
     public function tagInfCT(
569 563
         $nItem = 0,
@@ -618,7 +612,6 @@  discard block
 block discarded – undo
618 612
      * tag MDFe/infMDFe/infDoc/infMunDescarga/infNFe
619 613
      *
620 614
      * @param  integer $nItem
621
-     * @param  string  $chCTe
622 615
      * @param  string  $segCodBarra
623 616
      * @return DOMElement
624 617
      */
@@ -650,7 +643,7 @@  discard block
 block discarded – undo
650 643
      * tagInfNF
651 644
      * tag MDFe/infMDFe/infDoc/infMunDescarga/infNF
652 645
      *
653
-     * @param  string $nItem
646
+     * @param  integer $nItem
654 647
      * @param  string $cnpj
655 648
      * @param  string $siglaUF
656 649
      * @param  string $nNF
@@ -1001,7 +994,7 @@  discard block
 block discarded – undo
1001 994
      * @param  string $serie
1002 995
      * @param  string $nVag
1003 996
      * @param  string $nSeq
1004
-     * @param  string $tUtil
997
+     * @param  string $tonUtil
1005 998
      * @return DOMElement
1006 999
      */
1007 1000
     public function tagVag(
@@ -1158,7 +1151,7 @@  discard block
 block discarded – undo
1158 1151
      * tagInfEmbComb
1159 1152
      * tag MDFe/infMDFe/infModal/Aqua/infEmbComb
1160 1153
      *
1161
-     * @param  string $$cEmbComb
1154
+     * @param  string $cEmbComb
1162 1155
      * @return DOMElement
1163 1156
      */
1164 1157
     public function tagInfEmbComb(
@@ -1520,7 +1513,7 @@  discard block
 block discarded – undo
1520 1513
      * Isso é útil no caso da chave informada estar errada
1521 1514
      * se a chave estiver errada a mesma é substituida
1522 1515
      *
1523
-     * @param object $dom
1516
+     * @param \DOMNode $dom
1524 1517
      */
1525 1518
     private function zTestaChaveXML($dom)
1526 1519
     {
Please login to merge, or discard this patch.
src/Tools.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -523,7 +523,7 @@
 block discarded – undo
523 523
      * @param    string $siglaUF  sigla da unidade da Federação
524 524
      * @param    string $tpAmb    tipo de ambiente 1-produção e 2-homologação
525 525
      * @param    array  $aRetorno parametro passado por referencia contendo a resposta da consulta em um array
526
-     * @return   mixed string XML do retorno do webservice, ou false se ocorreu algum erro
526
+     * @return   string string XML do retorno do webservice, ou false se ocorreu algum erro
527 527
      * @throws   Exception\RuntimeException
528 528
      * @internal function zLoadServico (Common\Base\BaseTools)
529 529
      */
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,15 +15,13 @@
 block discarded – undo
15 15
 
16 16
 use NFePHP\Common\Base\BaseTools;
17 17
 use NFePHP\Common\DateTime\DateTime;
18
+use NFePHP\Common\Dom\Dom;
19
+use NFePHP\Common\Exception;
20
+use NFePHP\Common\Files;
18 21
 use NFePHP\Common\LotNumber\LotNumber;
19 22
 use NFePHP\Common\Strings\Strings;
20
-use NFePHP\Common\Files;
21
-use NFePHP\Common\Exception;
22
-use NFePHP\Common\Dom\Dom;
23
-use NFePHP\Common\Dom\ValidXsd;
24
-use NFePHP\MDFe\Response;
25 23
 use NFePHP\MDFe\Mail;
26
-use NFePHP\MDFe\Identify;
24
+use NFePHP\MDFe\Response;
27 25
 
28 26
 if (!defined('NFEPHP_ROOT')) {
29 27
     define('NFEPHP_ROOT', dirname(dirname(__FILE__)));
Please login to merge, or discard this patch.