Completed
Push — master ( c523cc...f6da78 )
by Francimar
05:08
created
api/NFe/Common/CurlSoap.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -109,6 +109,9 @@
 block discarded – undo
109 109
         return $this->response->getElementsByTagName('Body')->item(0);
110 110
     }
111 111
 
112
+    /**
113
+     * @param \DOMDocument $body
114
+     */
112 115
     public function send($url, $body, $header = '', $action = null)
113 116
     {
114 117
         $this->setOpt(CURLOPT_SSLCERT, $this->getCertificate());
Please login to merge, or discard this patch.
api/NFe/Database/IBPT.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -60,6 +60,9 @@  discard block
 block discarded – undo
60 60
         return $data;
61 61
     }
62 62
 
63
+    /**
64
+     * @param string $uf
65
+     */
63 66
     private function getImpostoOffline($ncm, $uf, $ex)
64 67
     {
65 68
         $data = $this->load($uf);
@@ -76,6 +79,9 @@  discard block
 block discarded – undo
76 79
         return $o;
77 80
     }
78 81
 
82
+    /**
83
+     * @param string $uf
84
+     */
79 85
     private function getImpostoOnline($cnpj, $token, $ncm, $uf, $ex)
80 86
     {
81 87
         if ($this->offline) {
Please login to merge, or discard this patch.
api/NFe/Entity/Endereco.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@  discard block
 block discarded – undo
59 59
         return $this;
60 60
     }
61 61
 
62
+    /**
63
+     * @return string|null
64
+     */
62 65
     public function getCEP($normalize = false)
63 66
     {
64 67
         if (!$normalize) {
@@ -84,6 +87,9 @@  discard block
 block discarded – undo
84 87
         return $this;
85 88
     }
86 89
 
90
+    /**
91
+     * @return string|null
92
+     */
87 93
     public function getBairro($normalize = false)
88 94
     {
89 95
         if (!$normalize) {
@@ -98,6 +104,9 @@  discard block
 block discarded – undo
98 104
         return $this;
99 105
     }
100 106
 
107
+    /**
108
+     * @return string|null
109
+     */
101 110
     public function getLogradouro($normalize = false)
102 111
     {
103 112
         if (!$normalize) {
@@ -112,6 +121,9 @@  discard block
 block discarded – undo
112 121
         return $this;
113 122
     }
114 123
 
124
+    /**
125
+     * @return string|null
126
+     */
115 127
     public function getNumero($normalize = false)
116 128
     {
117 129
         if (!$normalize) {
@@ -252,6 +264,9 @@  discard block
 block discarded – undo
252 264
         return $element;
253 265
     }
254 266
 
267
+    /**
268
+     * @param string $name
269
+     */
255 270
     public function loadNode($element, $name = null)
256 271
     {
257 272
         $name = is_null($name)?'enderEmit':$name;
Please login to merge, or discard this patch.
api/NFe/Entity/Imposto.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -153,6 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
     /**
155 155
      * Código da situação tributária
156
+     * @return string|null
156 157
      */
157 158
     public function getTributacao($normalize = false)
158 159
     {
@@ -170,6 +171,7 @@  discard block
 block discarded – undo
170 171
 
171 172
     /**
172 173
      * Porcentagem do imposto
174
+     * @return string|null
173 175
      */
174 176
     public function getAliquota($normalize = false)
175 177
     {
Please login to merge, or discard this patch.
api/NFe/Entity/Imposto/ICMS/Mista.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,6 @@
 block discarded – undo
27 27
  */
28 28
 namespace NFe\Entity\Imposto\ICMS;
29 29
 
30
-use NFe\Common\Util;
31
-
32 30
 /**
33 31
  * Tributação pelo ICMS
34 32
  * 70 - Com redução de base de cálculo e cobrança do
Please login to merge, or discard this patch.
api/NFe/Entity/Imposto/IPI/Aliquota.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -60,6 +60,7 @@
 block discarded – undo
60 60
      * 49 - Outras entradas
61 61
      * 50-Saída tributada
62 62
      * 99-Outras saídas
63
+     * @return string|null
63 64
      */
64 65
     public function getTributacao($normalize = false)
65 66
     {
Please login to merge, or discard this patch.
api/NFe/Entity/Imposto/IPI/Isento.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -59,6 +59,7 @@
 block discarded – undo
59 59
      * 54-Saída imune
60 60
      * 55-Saída com
61 61
      * suspensão
62
+     * @return string|null
62 63
      */
63 64
     public function getTributacao($normalize = false)
64 65
     {
Please login to merge, or discard this patch.
api/NFe/Entity/Transporte/Transportador.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@
 block discarded – undo
83 83
         return $element;
84 84
     }
85 85
 
86
+    /**
87
+     * @param string $name
88
+     */
86 89
     public function loadNode($element, $name = null)
87 90
     {
88 91
         $name = is_null($name)?'transporta':$name;
Please login to merge, or discard this patch.
api/NFe/Task/Envio.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@  discard block
 block discarded – undo
59 59
         $this->fromArray($envio);
60 60
     }
61 61
 
62
+    /**
63
+     * @return string
64
+     */
62 65
     public function getServico($normalize = false)
63 66
     {
64 67
         if (!$normalize) {
@@ -143,6 +146,9 @@  discard block
 block discarded – undo
143 146
         return $this;
144 147
     }
145 148
 
149
+    /**
150
+     * @return string|null
151
+     */
146 152
     public function getVersao()
147 153
     {
148 154
         $config = SEFAZ::getInstance()->getConfiguracao();
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 
30 30
 use NFe\Core\Nota;
31 31
 use NFe\Core\SEFAZ;
32
-use NFe\Common\Node;
33 32
 use NFe\Common\CurlSoap;
34 33
 
35 34
 class Envio
Please login to merge, or discard this patch.