Completed
Pull Request — master (#89)
by
unknown
11:04
created
src/Tools.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      *
128 128
      * @param string $uf sigla da unidade da Federação
129 129
      * @param string $tpAmb tipo de ambiente 1-produção e 2-homologação
130
-     * @return   mixed string XML do retorno do webservice, ou false se ocorreu algum erro
130
+     * @return   string string XML do retorno do webservice, ou false se ocorreu algum erro
131 131
      */
132 132
     public function sefazStatus($uf = '', $tpAmb = null)
133 133
     {
@@ -286,9 +286,8 @@  discard block
 block discarded – undo
286 286
      *
287 287
      * @param string $uf
288 288
      * @param string $chave
289
-     * @param string $cOrgao
290 289
      * @param string $tpEvento
291
-     * @param string $nSeqEvento
290
+     * @param integer $nSeqEvento
292 291
      * @param string $tagAdic
293 292
      * @return   string
294 293
      */
Please login to merge, or discard this patch.
src/Make.php 2 patches
Unused Use Statements   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,14 +18,12 @@
 block discarded – undo
18 18
  * @author    Roberto L. Machado <linux.rlm at gmail dot com>
19 19
  */
20 20
 
21
-use NFePHP\Common\Keys;
21
+use DOMElement;
22
+use DateTime;
22 23
 use NFePHP\Common\DOMImproved as Dom;
24
+use NFePHP\Common\Keys;
23 25
 use NFePHP\Common\Strings;
24 26
 use stdClass;
25
-use RuntimeException;
26
-use InvalidArgumentException;
27
-use DOMElement;
28
-use DateTime;
29 27
 
30 28
 class Make
31 29
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1743,10 +1743,6 @@  discard block
 block discarded – undo
1743 1743
      * tagVag
1744 1744
      * tag MDFe/infMDFe/infModal/ferrov/trem/vag
1745 1745
      *
1746
-     * @param  string $serie
1747
-     * @param  string $nVag
1748
-     * @param  string $nSeq
1749
-     * @param  string $tonUtil
1750 1746
      *
1751 1747
      * @return DOMElement
1752 1748
      */
@@ -1822,12 +1818,6 @@  discard block
 block discarded – undo
1822 1818
      * tagaquav
1823 1819
      * tag MDFe/infMDFe/infModal/aquav
1824 1820
      *
1825
-     * @param  string $cnpjAgeNav
1826
-     * @param  string $tpEmb
1827
-     * @param  string $cEmbar
1828
-     * @param  string $nViagem
1829
-     * @param  string $cPrtEmb
1830
-     * @param  string $cPrtDest
1831 1821
      *
1832 1822
      * @return DOMElement
1833 1823
      */
@@ -2108,7 +2098,6 @@  discard block
 block discarded – undo
2108 2098
      * condutor
2109 2099
      * tag MDFe/infMDFe/infModal/rodo/veicTracao/condutor
2110 2100
      *
2111
-     * @param  string $cEmbComb
2112 2101
      *
2113 2102
      * @return DOMElement
2114 2103
      */
@@ -2569,7 +2558,7 @@  discard block
 block discarded – undo
2569 2558
      * Includes missing or unsupported properties in stdClass
2570 2559
      * Replace all unsuported chars
2571 2560
      * @param stdClass $std
2572
-     * @param array $possible
2561
+     * @param string[] $possible
2573 2562
      * @return stdClass
2574 2563
      */
2575 2564
     protected function equilizeParameters(stdClass $std, $possible)
Please login to merge, or discard this patch.
src/Common/Tools.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -364,6 +364,12 @@
 block discarded – undo
364 364
         return $signed;
365 365
     }
366 366
 
367
+    /**
368
+     * @param DOMDocument $dom
369
+     * @param string $modal
370
+     *
371
+     * @return string
372
+     */
367 373
     public function getModalXML($dom, $modal)
368 374
     {
369 375
         $modal = $dom->getElementsByTagName($modal)->item(0);
Please login to merge, or discard this patch.
src/Complements.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,6 @@
 block discarded – undo
154 154
      * NOTE: This action is not necessary, I use only for my needs to
155 155
      * leave the MDFE marked as Canceled in order to avoid mistakes
156 156
      * after its cancellation.
157
-     * @param string $MDFE content of autorized MDFE XML
158 157
      * @param string $cancelamento content of SEFAZ response
159 158
      * @return string
160 159
      * @throws \InvalidArgumentException
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 namespace NFePHP\MDFe;
4 4
 
5 5
 use DOMDocument;
6
+use NFePHP\Common\Strings;
6 7
 use NFePHP\MDFe\Common\Standardize;
7 8
 use NFePHP\MDFe\Exception\DocumentsException;
8
-use NFePHP\Common\Strings;
9 9
 
10 10
 class Complements
11 11
 {
Please login to merge, or discard this patch.