| @@ -23,7 +23,6 @@ | ||
| 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) | 
| @@ -14,10 +14,6 @@ | ||
| 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 | -use NFePHP\Common\Exception; | |
| 19 | -use NFePHP\CTe\Make; | |
| 20 | - | |
| 21 | 17 | class Convert | 
| 22 | 18 |  { | 
| 23 | 19 | protected $limparString = true; | 
| @@ -2463,25 +2463,12 @@ | ||
| 2463 | 2463 | * tagICMS | 
| 2464 | 2464 | * Informações do ICMS da Operação própria e ST N01 pai M01 | 
| 2465 | 2465 | * tag NFe/infNFe/det[]/imposto/ICMS | 
| 2466 | - * @param string $nItem | |
| 2467 | - * @param string $orig | |
| 2468 | - * @param string $CST | |
| 2469 | - * @param string $modBC | |
| 2470 | 2466 | * @param string $vBC | 
| 2471 | 2467 | * @param string $pICMS | 
| 2472 | 2468 | * @param string $vICMS | 
| 2473 | - * @param string $vICMSDeson | |
| 2474 | - * @param string $motDesICMS | |
| 2475 | - * @param string $modBCST | |
| 2476 | - * @param string $pMVAST | |
| 2477 | - * @param string $pRedBCST | |
| 2478 | - * @param string $vBCST | |
| 2479 | - * @param string $pICMSST | |
| 2480 | - * @param string $vICMSST | |
| 2481 | - * @param string $pDif | |
| 2482 | - * @param string $vICMSDif | |
| 2483 | - * @param string $vICMSOp | |
| 2484 | - * @param string $vBCSTRet | |
| 2469 | + * @param string $pRedBC | |
| 2470 | + * @param string $pICMSSTRet | |
| 2471 | + * @param string $pICMSSTRet | |
| 2485 | 2472 | * @param string $vICMSSTRet | 
| 2486 | 2473 | * @return DOMElement | 
| 2487 | 2474 | */ | 
| @@ -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 | 
| @@ -78,7 +78,7 @@ discard block | ||
| 78 | 78 | * @param type $aRetorno | 
| 79 | 79 | * @param int $indSinc | 
| 80 | 80 | * @param type $compactarZip | 
| 81 | - * @return type | |
| 81 | + * @return string | |
| 82 | 82 | * @throws Exception\InvalidArgumentException | 
| 83 | 83 | * @throws Exception\RuntimeException | 
| 84 | 84 | */ | 
| @@ -162,7 +162,7 @@ discard block | ||
| 162 | 162 | * @param type $recibo | 
| 163 | 163 | * @param type $tpAmb | 
| 164 | 164 | * @param type $aRetorno | 
| 165 | - * @return type | |
| 165 | + * @return string | |
| 166 | 166 | * @throws Exception\InvalidArgumentException | 
| 167 | 167 | * @throws Exception\RuntimeException | 
| 168 | 168 | */ | 
| @@ -224,7 +224,7 @@ discard block | ||
| 224 | 224 | * @param type $chave | 
| 225 | 225 | * @param type $tpAmb | 
| 226 | 226 | * @param type $aRetorno | 
| 227 | - * @return type | |
| 227 | + * @return string | |
| 228 | 228 | * @throws Exception\InvalidArgumentException | 
| 229 | 229 | * @throws Exception\RuntimeException | 
| 230 | 230 | */ | 
| @@ -285,7 +285,7 @@ discard block | ||
| 285 | 285 | * @param type $siglaUF | 
| 286 | 286 | * @param type $tpAmb | 
| 287 | 287 | * @param type $aRetorno | 
| 288 | - * @return type | |
| 288 | + * @return string | |
| 289 | 289 | * @throws Exception\RuntimeException | 
| 290 | 290 | */ | 
| 291 | 291 | public function sefazStatus($siglaUF = '', $tpAmb = '2', &$aRetorno = array()) | 
| @@ -336,14 +336,13 @@ discard block | ||
| 336 | 336 | /** | 
| 337 | 337 | * Inutiza sequencia de numeracao | 
| 338 | 338 | * | 
| 339 | - * @param type $nAno | |
| 340 | 339 | * @param type $nSerie | 
| 341 | 340 | * @param type $nIni | 
| 342 | 341 | * @param type $nFin | 
| 343 | 342 | * @param type $xJust | 
| 344 | 343 | * @param type $tpAmb | 
| 345 | 344 | * @param type $aRetorno | 
| 346 | - * @return boolean | |
| 345 | + * @return string | |
| 347 | 346 | * @throws Exception\RuntimeException | 
| 348 | 347 | * @throws Exception\InvalidArgumentException | 
| 349 | 348 | */ | 
| @@ -439,7 +438,7 @@ discard block | ||
| 439 | 438 | * @param type $xJust | 
| 440 | 439 | * @param type $nProt | 
| 441 | 440 | * @param type $aRetorno | 
| 442 | - * @return type | |
| 441 | + * @return string | |
| 443 | 442 | * @throws Exception\InvalidArgumentException | 
| 444 | 443 | */ | 
| 445 | 444 | public function sefazCancela($chCTe = '', $tpAmb = '2', $xJust = '', $nProt = '', &$aRetorno = array()) | 
| @@ -755,7 +754,7 @@ discard block | ||
| 755 | 754 | * @param type $valorAlterado | 
| 756 | 755 | * @param type $nroItemAlterado | 
| 757 | 756 | * @param type $aRetorno | 
| 758 | - * @return type | |
| 757 | + * @return string | |
| 759 | 758 | * @throws Exception\InvalidArgumentException | 
| 760 | 759 | */ | 
| 761 | 760 | public function sefazCartaCorrecao( | 
| @@ -18,16 +18,16 @@ | ||
| 18 | 18 | * Samuel M Basso <samuelbasso at gmail do com> | 
| 19 | 19 | */ | 
| 20 | 20 | |
| 21 | +use NFePHP\CTe\Auxiliar\IdentifyCTe; | |
| 22 | +use NFePHP\CTe\Auxiliar\Response; | |
| 21 | 23 | use NFePHP\Common\Base\BaseTools; | 
| 24 | +use NFePHP\Common\DateTime\DateTime; | |
| 25 | +use NFePHP\Common\Dom\Dom; | |
| 26 | +use NFePHP\Common\Dom\ValidXsd; | |
| 27 | +use NFePHP\Common\Exception; | |
| 28 | +use NFePHP\Common\Files; | |
| 22 | 29 | use NFePHP\Common\LotNumber\LotNumber; | 
| 23 | 30 | use NFePHP\Common\Strings\Strings; | 
| 24 | -use NFePHP\Common\Files; | |
| 25 | -use NFePHP\Common\Exception; | |
| 26 | -use NFePHP\CTe\Auxiliar\Response; | |
| 27 | -use NFePHP\CTe\Auxiliar\IdentifyCTe; | |
| 28 | -use NFePHP\Common\Dom\ValidXsd; | |
| 29 | -use NFePHP\Common\Dom\Dom; | |
| 30 | -use NFePHP\Common\DateTime\DateTime; | |
| 31 | 31 | |
| 32 | 32 |  if (!defined('NFEPHP_ROOT')) { | 
| 33 | 33 |      define('NFEPHP_ROOT', dirname(dirname(__FILE__))); |