Passed
Push — master ( 86bb06...22a4bb )
by Francimar
08:25
created
api/NFe/Core/Nota.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
     /**
288 288
      * Chave da nota fiscal
289 289
      * @param boolean $normalize informa se o id deve estar no formato do XML
290
-     * @return mixed id da Nota
290
+     * @return string id da Nota
291 291
      */
292 292
     public function getID($normalize = false)
293 293
     {
@@ -1717,6 +1717,9 @@  discard block
 block discarded – undo
1717 1717
         return $element;
1718 1718
     }
1719 1719
 
1720
+    /**
1721
+     * @param string $name
1722
+     */
1720 1723
     public function loadNode($element, $name = null)
1721 1724
     {
1722 1725
         $root = $element;
@@ -1956,7 +1959,7 @@  discard block
 block discarded – undo
1956 1959
     /**
1957 1960
      * Carrega um arquivo XML e preenche a nota com as informações dele
1958 1961
      * @param  string $filename caminho do arquivo
1959
-     * @return DOMDocument      objeto do documento carregado
1962
+     * @return \DOMDocument      objeto do documento carregado
1960 1963
      */
1961 1964
     public function load($filename)
1962 1965
     {
Please login to merge, or discard this patch.
api/NFe/Database/IBPT.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
         return $this->offline;
48 48
     }
49 49
 
50
+    /**
51
+     * @param boolean $offline
52
+     */
50 53
     public function setOffline($offline)
51 54
     {
52 55
         $this->offline = $offline;
@@ -70,6 +73,9 @@  discard block
 block discarded – undo
70 73
         return $data;
71 74
     }
72 75
 
76
+    /**
77
+     * @param string $uf
78
+     */
73 79
     private function getImpostoOffline($ncm, $uf, $ex)
74 80
     {
75 81
         $data = $this->load($uf);
@@ -86,6 +92,9 @@  discard block
 block discarded – undo
86 92
         return $o;
87 93
     }
88 94
 
95
+    /**
96
+     * @param string $uf
97
+     */
89 98
     private function getImpostoOnline($cnpj, $token, $ncm, $uf, $ex)
90 99
     {
91 100
         if ($this->isOffline()) {
Please login to merge, or discard this patch.