@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | * Normalmente essas falhas ocorrem devido a falhas internas |
| 77 | 77 | * nos servidores da SEFAZ |
| 78 | 78 | * |
| 79 | - * @param NFePHP\Common\Dom\Dom $dom |
|
| 79 | + * @param Dom $dom |
|
| 80 | 80 | * @return string |
| 81 | 81 | */ |
| 82 | 82 | protected static function checkForFault($dom) |
@@ -92,8 +92,7 @@ discard block |
||
| 92 | 92 | /** |
| 93 | 93 | * zReadDownloadNF |
| 94 | 94 | * |
| 95 | - * @param DOMDocument $dom |
|
| 96 | - * @param boolean $parametro |
|
| 95 | + * @param Dom $dom |
|
| 97 | 96 | * @return array |
| 98 | 97 | */ |
| 99 | 98 | protected static function zReadDownloadNF($dom) |
@@ -150,8 +149,7 @@ discard block |
||
| 150 | 149 | /** |
| 151 | 150 | * zReadCscNFCe |
| 152 | 151 | * |
| 153 | - * @param DOMDocument $dom |
|
| 154 | - * @param boolean $parametro |
|
| 152 | + * @param Dom $dom |
|
| 155 | 153 | * @return array |
| 156 | 154 | */ |
| 157 | 155 | protected static function zReadCscNFCe($dom) |
@@ -192,7 +190,7 @@ discard block |
||
| 192 | 190 | /** |
| 193 | 191 | * zReadAutorizacaoLote |
| 194 | 192 | * |
| 195 | - * @param DOMDocument $dom |
|
| 193 | + * @param Dom $dom |
|
| 196 | 194 | * @return array |
| 197 | 195 | */ |
| 198 | 196 | protected static function zReadAutorizacaoLote($dom) |
@@ -235,7 +233,7 @@ discard block |
||
| 235 | 233 | /** |
| 236 | 234 | * zReadRetAutorizacaoLote |
| 237 | 235 | * |
| 238 | - * @param DOMDocument $dom |
|
| 236 | + * @param Dom $dom |
|
| 239 | 237 | * @return array |
| 240 | 238 | */ |
| 241 | 239 | protected static function zReadRetAutorizacaoLote($dom) |
@@ -280,7 +278,7 @@ discard block |
||
| 280 | 278 | /** |
| 281 | 279 | * zReadConsultaCadastro2 |
| 282 | 280 | * |
| 283 | - * @param DOMDocument $dom |
|
| 281 | + * @param Dom $dom |
|
| 284 | 282 | * @return array |
| 285 | 283 | */ |
| 286 | 284 | protected static function zReadConsultaCadastro2($dom) |
@@ -354,7 +352,7 @@ discard block |
||
| 354 | 352 | /** |
| 355 | 353 | * zReadConsultaNF2 |
| 356 | 354 | * |
| 357 | - * @param DOMDocument $dom |
|
| 355 | + * @param Dom $dom |
|
| 358 | 356 | * @return array |
| 359 | 357 | */ |
| 360 | 358 | protected static function zReadConsultaNF2($dom) |
@@ -405,7 +403,7 @@ discard block |
||
| 405 | 403 | /** |
| 406 | 404 | * zReadInutilizacaoNF2 |
| 407 | 405 | * |
| 408 | - * @param DOMDocument $dom |
|
| 406 | + * @param Dom $dom |
|
| 409 | 407 | * @return array |
| 410 | 408 | */ |
| 411 | 409 | protected static function zReadInutilizacaoNF2($dom) |
@@ -455,7 +453,7 @@ discard block |
||
| 455 | 453 | /** |
| 456 | 454 | * zReadStatusServico |
| 457 | 455 | * |
| 458 | - * @param DOMDocument $dom |
|
| 456 | + * @param Dom $dom |
|
| 459 | 457 | * @return array |
| 460 | 458 | */ |
| 461 | 459 | protected static function zReadStatusServico($dom) |
@@ -497,7 +495,7 @@ discard block |
||
| 497 | 495 | /** |
| 498 | 496 | * zReadRecepcaoEvento |
| 499 | 497 | * |
| 500 | - * @param DOMDocument $dom |
|
| 498 | + * @param Dom $dom |
|
| 501 | 499 | * @return array |
| 502 | 500 | */ |
| 503 | 501 | protected static function zReadRecepcaoEvento($dom) |
@@ -535,8 +533,7 @@ discard block |
||
| 535 | 533 | /** |
| 536 | 534 | * zReadDistDFeInteresse |
| 537 | 535 | * |
| 538 | - * @param DOMDocument $dom |
|
| 539 | - * @param boolean $descompactar |
|
| 536 | + * @param Dom $dom |
|
| 540 | 537 | * @return array |
| 541 | 538 | */ |
| 542 | 539 | protected static function zReadDistDFeInteresse($dom) |
@@ -14,9 +14,8 @@ |
||
| 14 | 14 | * @link http://github.com/nfephp-org/nfephp for the canonical source repository |
| 15 | 15 | */ |
| 16 | 16 | |
| 17 | -use NFePHP\Common\Strings\Strings; |
|
| 18 | 17 | use NFePHP\Common\Exception; |
| 19 | -use NFePHP\NFe\Make; |
|
| 18 | +use NFePHP\Common\Strings\Strings; |
|
| 20 | 19 | |
| 21 | 20 | class Convert |
| 22 | 21 | { |
@@ -67,6 +67,7 @@ |
||
| 67 | 67 | * zMontaMessagem |
| 68 | 68 | * |
| 69 | 69 | * @param string $pathFile |
| 70 | + * @return string |
|
| 70 | 71 | */ |
| 71 | 72 | protected function zMontaMessagem($pathFile) |
| 72 | 73 | { |
@@ -13,11 +13,11 @@ |
||
| 13 | 13 | * @link http://github.com/nfephp-org/nfephp for the canonical source repository |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -use NFePHP\Common\Dom\Dom; |
|
| 17 | -use NFePHP\Common\DateTime\DateTime; |
|
| 16 | +use Html2Text\Html2Text; |
|
| 18 | 17 | use NFePHP\Common\Base\BaseMail; |
| 18 | +use NFePHP\Common\DateTime\DateTime; |
|
| 19 | +use NFePHP\Common\Dom\Dom; |
|
| 19 | 20 | use NFePHP\Common\Exception; |
| 20 | -use Html2Text\Html2Text; |
|
| 21 | 21 | use \DOMDocument; |
| 22 | 22 | |
| 23 | 23 | class Mail extends BaseMail |
@@ -1376,7 +1376,6 @@ discard block |
||
| 1376 | 1376 | * @param string $xPed |
| 1377 | 1377 | * @param string $nItemPed |
| 1378 | 1378 | * @param string $nFCI |
| 1379 | - * @param string $nRECOPI |
|
| 1380 | 1379 | * @return DOMElement |
| 1381 | 1380 | */ |
| 1382 | 1381 | public function tagprod( |
@@ -1665,7 +1664,7 @@ discard block |
||
| 1665 | 1664 | * @param string $CNPJ |
| 1666 | 1665 | * @param string $UFTerceiro |
| 1667 | 1666 | * @param string $cExportador |
| 1668 | - * @return DOMELEment |
|
| 1667 | + * @return DOMElement |
|
| 1669 | 1668 | */ |
| 1670 | 1669 | public function tagDI( |
| 1671 | 1670 | $nItem = '', |
@@ -1840,7 +1839,6 @@ discard block |
||
| 1840 | 1839 | * |
| 1841 | 1840 | * @param string $nItem |
| 1842 | 1841 | * @param string $nDraw |
| 1843 | - * @param string $exportInd |
|
| 1844 | 1842 | * @param string $nRE |
| 1845 | 1843 | * @param string $chNFe |
| 1846 | 1844 | * @param string $qExport |
@@ -1906,14 +1904,12 @@ discard block |
||
| 1906 | 1904 | * @param string $nSerie |
| 1907 | 1905 | * @param string $tpComb |
| 1908 | 1906 | * @param string $nMotor |
| 1909 | - * @param string $CMT |
|
| 1910 | 1907 | * @param string $dist |
| 1911 | 1908 | * @param string $anoMod |
| 1912 | 1909 | * @param string $anoFab |
| 1913 | 1910 | * @param string $tpPint |
| 1914 | 1911 | * @param string $tpVeic |
| 1915 | 1912 | * @param string $espVeic |
| 1916 | - * @param string $VIN |
|
| 1917 | 1913 | * @param string $condVeic |
| 1918 | 1914 | * @param string $cMod |
| 1919 | 1915 | * @param string $cCorDENATRAN |
@@ -2416,7 +2412,6 @@ discard block |
||
| 2416 | 2412 | * |
| 2417 | 2413 | * @param string $nItem |
| 2418 | 2414 | * @param string $orig |
| 2419 | - * @param string $CST |
|
| 2420 | 2415 | * @param string $modBC |
| 2421 | 2416 | * @param string $vBC |
| 2422 | 2417 | * @param string $pICMS |
@@ -5423,7 +5418,7 @@ discard block |
||
| 5423 | 5418 | * Grupo de Cartões YA04 pai YA01 |
| 5424 | 5419 | * tag NFe/infNFe/pag/card |
| 5425 | 5420 | * |
| 5426 | - * @param string $tpintrega |
|
| 5421 | + * @param string $tpIntegra |
|
| 5427 | 5422 | * @param string $cnpj |
| 5428 | 5423 | * @param string $tBand |
| 5429 | 5424 | * @param string $cAut |
@@ -5652,7 +5647,7 @@ discard block |
||
| 5652 | 5647 | * |
| 5653 | 5648 | * @param string $safra |
| 5654 | 5649 | * @param string $ref |
| 5655 | - * @return DOMELEment |
|
| 5650 | + * @return DOMElement |
|
| 5656 | 5651 | */ |
| 5657 | 5652 | public function tagcana( |
| 5658 | 5653 | $safra = '', |
@@ -5820,7 +5815,7 @@ discard block |
||
| 5820 | 5815 | * Podem ser criados até 100 desses Nodes por NFe |
| 5821 | 5816 | * Função chamada pelo método [tagPag] |
| 5822 | 5817 | * |
| 5823 | - * @return total registros |
|
| 5818 | + * @return integer registros |
|
| 5824 | 5819 | */ |
| 5825 | 5820 | private function zTagPag() |
| 5826 | 5821 | { |
@@ -6199,7 +6194,7 @@ discard block |
||
| 6199 | 6194 | * Isso é útil no caso da chave informada estar errada |
| 6200 | 6195 | * se a chave estiver errada a mesma é substituida |
| 6201 | 6196 | * |
| 6202 | - * @param object $dom |
|
| 6197 | + * @param \DOMNode $dom |
|
| 6203 | 6198 | */ |
| 6204 | 6199 | private function zTestaChaveXML($dom) |
| 6205 | 6200 | { |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | * E pelas NT 2015.001, 2015.002, 2015.003 |
| 24 | 24 | */ |
| 25 | 25 | |
| 26 | -use NFePHP\Common\DateTime\DateTime; |
|
| 27 | 26 | use NFePHP\Common\Base\BaseMake; |
| 27 | +use NFePHP\Common\DateTime\DateTime; |
|
| 28 | 28 | use NFePHP\Common\Exception\RuntimeException; |
| 29 | 29 | use \DOMDocument; |
| 30 | 30 | use \DOMElement; |
@@ -571,6 +571,7 @@ discard block |
||
| 571 | 571 | * no xml já assinado |
| 572 | 572 | * |
| 573 | 573 | * @param Dom $dom |
| 574 | + * @param boolean $saveFile |
|
| 574 | 575 | * @return string |
| 575 | 576 | * NOTA: O Campo QRCode está habilitado para uso a partir de |
| 576 | 577 | * 01/10/2015 homologação |
@@ -1187,7 +1188,7 @@ discard block |
||
| 1187 | 1188 | * @param string $siglaUF sigla da unidade da Federação |
| 1188 | 1189 | * @param string $tpAmb tipo de ambiente 1-produção e 2-homologação |
| 1189 | 1190 | * @param array $aRetorno parametro passado por referencia contendo a resposta da consulta em um array |
| 1190 | - * @return mixed string XML do retorno do webservice, ou false se ocorreu algum erro |
|
| 1191 | + * @return string string XML do retorno do webservice, ou false se ocorreu algum erro |
|
| 1191 | 1192 | * @throws Exception\RuntimeException |
| 1192 | 1193 | * @internal function zLoadServico (Common\Base\BaseTools) |
| 1193 | 1194 | */ |
@@ -1337,7 +1338,7 @@ discard block |
||
| 1337 | 1338 | * @param string $xCorrecao |
| 1338 | 1339 | * @param int $nSeqEvento |
| 1339 | 1340 | * @param array $aRetorno |
| 1340 | - * @return array |
|
| 1341 | + * @return string |
|
| 1341 | 1342 | * @throws Exception\InvalidArgumentException |
| 1342 | 1343 | */ |
| 1343 | 1344 | public function sefazCCe($chNFe = '', $tpAmb = '2', $xCorrecao = '', $nSeqEvento = 1, &$aRetorno = array()) |
@@ -15,15 +15,12 @@ |
||
| 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 | -use NFePHP\NFe\Auxiliar\Response; |
|
| 24 | -use NFePHP\NFe\Mail; |
|
| 25 | -use NFePHP\NFe\Auxiliar\Identify; |
|
| 26 | 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; |
|
| 27 | 24 | |
| 28 | 25 | if (!defined('NFEPHP_ROOT')) { |
| 29 | 26 | define('NFEPHP_ROOT', dirname(dirname(dirname(__FILE__)))); |