@@ -127,7 +127,7 @@ discard block |
||
| 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 |
||
| 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 | */ |
@@ -364,6 +364,12 @@ |
||
| 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); |
@@ -154,7 +154,6 @@ |
||
| 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 |
@@ -2167,10 +2167,6 @@ discard block |
||
| 2167 | 2167 | * tagVag |
| 2168 | 2168 | * tag MDFe/infMDFe/infModal/ferrov/trem/vag |
| 2169 | 2169 | * |
| 2170 | - * @param string $serie |
|
| 2171 | - * @param string $nVag |
|
| 2172 | - * @param string $nSeq |
|
| 2173 | - * @param string $tonUtil |
|
| 2174 | 2170 | * |
| 2175 | 2171 | * @return DOMElement |
| 2176 | 2172 | */ |
@@ -2550,7 +2546,6 @@ discard block |
||
| 2550 | 2546 | * condutor |
| 2551 | 2547 | * tag MDFe/infMDFe/infModal/rodo/veicTracao/condutor |
| 2552 | 2548 | * |
| 2553 | - * @param string $cEmbComb |
|
| 2554 | 2549 | * |
| 2555 | 2550 | * @return DOMElement |
| 2556 | 2551 | */ |
@@ -3326,7 +3321,7 @@ discard block |
||
| 3326 | 3321 | * Replace all unsuported chars |
| 3327 | 3322 | * |
| 3328 | 3323 | * @param stdClass $std |
| 3329 | - * @param array $possible |
|
| 3324 | + * @param string[] $possible |
|
| 3330 | 3325 | * @return stdClass |
| 3331 | 3326 | */ |
| 3332 | 3327 | private function equilizeParameters(stdClass $std, $possible) |