@@ -23,7 +23,6 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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) |
@@ -86,9 +86,7 @@ |
||
| 86 | 86 | * |
| 87 | 87 | * @param string $xNome |
| 88 | 88 | * @param string $data |
| 89 | - * @param string $nNF |
|
| 90 | 89 | * @param string $serie |
| 91 | - * @param string $vNF |
|
| 92 | 90 | * @param string $razao |
| 93 | 91 | * @return string |
| 94 | 92 | */ |
@@ -22,10 +22,9 @@ |
||
| 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\DateTime\DateTime; |
|
| 27 | +use NFePHP\Common\Dom\Dom; |
|
| 29 | 28 | use \DOMDocument; |
| 30 | 29 | |
| 31 | 30 | class Mail |
@@ -18,8 +18,8 @@ |
||
| 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 \DOMDocument; |
| 24 | 24 | use \DOMElement; |
| 25 | 25 | |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | * tag MDFe/infMDFe/ide |
| 149 | 149 | * |
| 150 | 150 | * @param string $cUF |
| 151 | - * @param string $tbAmb |
|
| 151 | + * @param string $tpAmb |
|
| 152 | 152 | * @param string $tpEmit |
| 153 | 153 | * @param string $mod |
| 154 | 154 | * @param string $serie |
@@ -357,14 +357,9 @@ discard block |
||
| 357 | 357 | * tag MDFe/infMDFe/emit |
| 358 | 358 | * |
| 359 | 359 | * @param string $cnpj |
| 360 | - * @param string $cpf |
|
| 361 | 360 | * @param string $xNome |
| 362 | 361 | * @param string $xFant |
| 363 | 362 | * @param string $numIE |
| 364 | - * @param string $numIEST |
|
| 365 | - * @param string $numIM |
|
| 366 | - * @param string $cnae |
|
| 367 | - * @param string $crt |
|
| 368 | 363 | * @return DOMElement |
| 369 | 364 | */ |
| 370 | 365 | public function tagemit( |
@@ -490,7 +485,6 @@ discard block |
||
| 490 | 485 | * tagInfMunDescarga |
| 491 | 486 | * tag MDFe/infMDFe/infDoc/infMunDescarga |
| 492 | 487 | * |
| 493 | - * @param integer $item |
|
| 494 | 488 | * @param string $cMunDescarga |
| 495 | 489 | * @param string $xMunDescarga |
| 496 | 490 | * @return DOMElement |
@@ -877,7 +871,7 @@ discard block |
||
| 877 | 871 | * @param string $serie |
| 878 | 872 | * @param string $nVag |
| 879 | 873 | * @param string $nSeq |
| 880 | - * @param string $tUtil |
|
| 874 | + * @param string $tonUtil |
|
| 881 | 875 | * @return DOMElement |
| 882 | 876 | */ |
| 883 | 877 | public function tagVag( |
@@ -1034,7 +1028,7 @@ discard block |
||
| 1034 | 1028 | * tagInfEmbComb |
| 1035 | 1029 | * tag MDFe/infMDFe/infModal/Aqua/infEmbComb |
| 1036 | 1030 | * |
| 1037 | - * @param string $$cEmbComb |
|
| 1031 | + * @param string $cEmbComb |
|
| 1038 | 1032 | * @return DOMElement |
| 1039 | 1033 | */ |
| 1040 | 1034 | public function tagInfEmbComb( |
@@ -1441,7 +1435,7 @@ discard block |
||
| 1441 | 1435 | * Isso é útil no caso da chave informada estar errada |
| 1442 | 1436 | * se a chave estiver errada a mesma é substituida |
| 1443 | 1437 | * |
| 1444 | - * @param object $dom |
|
| 1438 | + * @param \DOMNode $dom |
|
| 1445 | 1439 | */ |
| 1446 | 1440 | private function zTestaChaveXML($dom) |
| 1447 | 1441 | { |
@@ -523,7 +523,7 @@ |
||
| 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 | */ |
@@ -15,15 +15,15 @@ |
||
| 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__))); |