Completed
Pull Request — master (#49)
by
unknown
15:30
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/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   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,15 +15,15 @@
 block discarded – undo
15 15
 
16 16
 use NFePHP\Common\Base\BaseTools;
17 17
 use NFePHP\Common\DateTime\DateTime;
18
-use NFePHP\Common\LotNumber\LotNumber;
19
-use NFePHP\Common\Strings\Strings;
20
-use NFePHP\Common\Files;
21
-use NFePHP\Common\Exception;
22 18
 use NFePHP\Common\Dom\Dom;
23 19
 use NFePHP\Common\Dom\ValidXsd;
20
+use NFePHP\Common\Exception;
21
+use NFePHP\Common\Files;
22
+use NFePHP\Common\LotNumber\LotNumber;
23
+use NFePHP\Common\Strings\Strings;
24
+use NFePHP\MDFe\Auxiliar\Identify;
24 25
 use NFePHP\MDFe\Auxiliar\Response;
25 26
 use NFePHP\MDFe\Mail;
26
-use NFePHP\MDFe\Auxiliar\Identify;
27 27
 
28 28
 if (!defined('NFEPHP_ROOT')) {
29 29
     define('NFEPHP_ROOT', dirname(dirname(__FILE__)));
Please login to merge, or discard this patch.
src/Mail.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@  discard block
 block discarded – undo
58 58
      * montaMessagem
59 59
      *
60 60
      * @param string $pathFile
61
+     * @return string
61 62
      */
62 63
     protected function montaMessagem($pathFile)
63 64
     {
@@ -87,9 +88,7 @@  discard block
 block discarded – undo
87 88
      *
88 89
      * @param  string $xNome
89 90
      * @param  string $data
90
-     * @param  string $nNF
91 91
      * @param  string $serie
92
-     * @param  string $vNF
93 92
      * @param  string $razao
94 93
      * @return string
95 94
      */
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,10 +22,10 @@
 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\Base\BaseMail;
27
+use NFePHP\Common\DateTime\DateTime;
28
+use NFePHP\Common\Dom\Dom;
29 29
 use \DOMDocument;
30 30
 
31 31
 class Mail extends BaseMail
Please login to merge, or discard this patch.
src/Make.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1572,7 +1572,7 @@
 block discarded – undo
1572 1572
      * Isso é útil no caso da chave informada estar errada
1573 1573
      * se a chave estiver errada a mesma é substituida
1574 1574
      *
1575
-     * @param object $dom
1575
+     * @param \DOMNode $dom
1576 1576
      */
1577 1577
     private function zTestaChaveXML($dom)
1578 1578
     {
Please login to merge, or discard this patch.
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 \DOMElement;
24 24
 
25 25
 class Make extends BaseMake
Please login to merge, or discard this patch.