@@ -375,8 +375,6 @@ discard block |
||
| 375 | 375 | * |
| 376 | 376 | * tag MDFe/infMDFe/ide/infMunCarrega |
| 377 | 377 | * |
| 378 | - * @param string $cMunCarrega |
|
| 379 | - * @param string $xMunCarrega |
|
| 380 | 378 | * |
| 381 | 379 | * @return DOMElement |
| 382 | 380 | */ |
@@ -412,7 +410,6 @@ discard block |
||
| 412 | 410 | * |
| 413 | 411 | * tag MDFe/infMDFe/ide/infPercurso |
| 414 | 412 | * |
| 415 | - * @param string $ufPer |
|
| 416 | 413 | * |
| 417 | 414 | * @return DOMElement |
| 418 | 415 | */ |
@@ -440,10 +437,6 @@ discard block |
||
| 440 | 437 | * Identificação do emitente da MDFe |
| 441 | 438 | * tag MDFe/infMDFe/emit |
| 442 | 439 | * |
| 443 | - * @param string $cnpj |
|
| 444 | - * @param string $numIE |
|
| 445 | - * @param string $xNome |
|
| 446 | - * @param string $xFant |
|
| 447 | 440 | * |
| 448 | 441 | * @return DOMElement |
| 449 | 442 | */ |
@@ -495,16 +488,6 @@ discard block |
||
| 495 | 488 | * Endereço do emitente [30] pai [25] |
| 496 | 489 | * tag MDFe/infMDFe/emit/endEmit |
| 497 | 490 | * |
| 498 | - * @param string $xLgr |
|
| 499 | - * @param string $nro |
|
| 500 | - * @param string $xCpl |
|
| 501 | - * @param string $xBairro |
|
| 502 | - * @param string $cMun |
|
| 503 | - * @param string $xMun |
|
| 504 | - * @param string $cep |
|
| 505 | - * @param string $UF |
|
| 506 | - * @param string $fone |
|
| 507 | - * @param string $email |
|
| 508 | 491 | * |
| 509 | 492 | * @return DOMElement |
| 510 | 493 | */ |
@@ -604,9 +587,6 @@ discard block |
||
| 604 | 587 | * tagInfMunDescarga |
| 605 | 588 | * tag MDFe/infMDFe/infDoc/infMunDescarga |
| 606 | 589 | * |
| 607 | - * @param integer $nItem |
|
| 608 | - * @param string $cMunDescarga |
|
| 609 | - * @param string $xMunDescarga |
|
| 610 | 590 | * |
| 611 | 591 | * @return DOMElement |
| 612 | 592 | */ |
@@ -1162,12 +1142,6 @@ discard block |
||
| 1162 | 1142 | * tagseg |
| 1163 | 1143 | * tag MDFe/infMDFe/seg |
| 1164 | 1144 | * |
| 1165 | - * @param string $respSeg |
|
| 1166 | - * @param string $CNPJ |
|
| 1167 | - * @param string $CPF |
|
| 1168 | - * @param string $infSeg |
|
| 1169 | - * @param string $nApol |
|
| 1170 | - * @param string $nAver |
|
| 1171 | 1145 | * |
| 1172 | 1146 | * @return DOMElement |
| 1173 | 1147 | */ |
@@ -1255,12 +1229,6 @@ discard block |
||
| 1255 | 1229 | * tagTot |
| 1256 | 1230 | * tag MDFe/infMDFe/tot |
| 1257 | 1231 | * |
| 1258 | - * @param string $qCTe |
|
| 1259 | - * @param string $qNFe |
|
| 1260 | - * @param string $qMDFe |
|
| 1261 | - * @param string $vCarga |
|
| 1262 | - * @param string $cUnid |
|
| 1263 | - * @param string $qCarga |
|
| 1264 | 1232 | * |
| 1265 | 1233 | * @return DOMElement |
| 1266 | 1234 | */ |
@@ -1326,7 +1294,6 @@ discard block |
||
| 1326 | 1294 | * tagLacres |
| 1327 | 1295 | * tag MDFe/infMDFe/lacres |
| 1328 | 1296 | * |
| 1329 | - * @param string $nLacre |
|
| 1330 | 1297 | * |
| 1331 | 1298 | * @return DOMElement |
| 1332 | 1299 | */ |
@@ -1357,8 +1324,6 @@ discard block |
||
| 1357 | 1324 | * Grupo de Informações Adicionais Z01 pai A01 |
| 1358 | 1325 | * tag MDFe/infMDFe/infAdic (opcional) |
| 1359 | 1326 | * |
| 1360 | - * @param string $infAdFisco |
|
| 1361 | - * @param string $infCpl |
|
| 1362 | 1327 | * |
| 1363 | 1328 | * @return DOMElement |
| 1364 | 1329 | */ |
@@ -1394,8 +1359,6 @@ discard block |
||
| 1394 | 1359 | * |
| 1395 | 1360 | * Autorizados para download do XML do MDF-e |
| 1396 | 1361 | * |
| 1397 | - * @param string $cnpj |
|
| 1398 | - * @param string $cpf |
|
| 1399 | 1362 | * |
| 1400 | 1363 | * @return DOMElement |
| 1401 | 1364 | */ |
@@ -1429,7 +1392,6 @@ discard block |
||
| 1429 | 1392 | * buildInfModal |
| 1430 | 1393 | * tag MDFe/infMDFe/infModal |
| 1431 | 1394 | * |
| 1432 | - * @param string $versaoModal |
|
| 1433 | 1395 | * |
| 1434 | 1396 | * @return DOMElement |
| 1435 | 1397 | */ |
@@ -1761,21 +1723,6 @@ discard block |
||
| 1761 | 1723 | * tagVeicTracao |
| 1762 | 1724 | * tag MDFe/infMDFe/infModal/rodo/veicTracao |
| 1763 | 1725 | * |
| 1764 | - * @param string $cInt |
|
| 1765 | - * @param string $placa |
|
| 1766 | - * @param string $tara |
|
| 1767 | - * @param string $capKG |
|
| 1768 | - * @param string $capM3 |
|
| 1769 | - * @param string $tpRod |
|
| 1770 | - * @param string $tpCar |
|
| 1771 | - * @param string $UF |
|
| 1772 | - * @param string $propRNTRC |
|
| 1773 | - * @param string $propCPF |
|
| 1774 | - * @param string $propCNPJ |
|
| 1775 | - * @param string $propXNome |
|
| 1776 | - * @param string $propIE |
|
| 1777 | - * @param string $propUF |
|
| 1778 | - * @param string $propTpProp |
|
| 1779 | 1726 | * |
| 1780 | 1727 | * @return DOMElement |
| 1781 | 1728 | */ |
@@ -1956,20 +1903,6 @@ discard block |
||
| 1956 | 1903 | * tagVeicReboque |
| 1957 | 1904 | * tag MDFe/infMDFe/infModal/rodo/VeicReboque |
| 1958 | 1905 | * |
| 1959 | - * @param string $cInt |
|
| 1960 | - * @param string $placa |
|
| 1961 | - * @param string $tara |
|
| 1962 | - * @param string $capKG |
|
| 1963 | - * @param string $capM3 |
|
| 1964 | - * @param string $propRNTRC |
|
| 1965 | - * @param string $propCPF |
|
| 1966 | - * @param string $propCNPJ |
|
| 1967 | - * @param string $propXNome |
|
| 1968 | - * @param string $propIE |
|
| 1969 | - * @param string $propUF |
|
| 1970 | - * @param string $propTpProp |
|
| 1971 | - * @param string $tpCar |
|
| 1972 | - * @param string $UF |
|
| 1973 | 1906 | * |
| 1974 | 1907 | * @return DOMElement |
| 1975 | 1908 | */ |
@@ -2243,7 +2176,7 @@ discard block |
||
| 2243 | 2176 | * Includes missing or unsupported properties in stdClass |
| 2244 | 2177 | * Replace all unsuported chars |
| 2245 | 2178 | * @param stdClass $std |
| 2246 | - * @param array $possible |
|
| 2179 | + * @param string[] $possible |
|
| 2247 | 2180 | * @return stdClass |
| 2248 | 2181 | */ |
| 2249 | 2182 | protected function equilizeParameters(stdClass $std, $possible) |
@@ -18,14 +18,12 @@ |
||
| 18 | 18 | * @author Roberto L. Machado <linux.rlm at gmail dot com> |
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | -use NFePHP\Common\Keys; |
|
| 21 | +use DOMElement; |
|
| 22 | +use DateTime; |
|
| 22 | 23 | use NFePHP\Common\DOMImproved as Dom; |
| 24 | +use NFePHP\Common\Keys; |
|
| 23 | 25 | use NFePHP\Common\Strings; |
| 24 | 26 | use stdClass; |
| 25 | -use RuntimeException; |
|
| 26 | -use InvalidArgumentException; |
|
| 27 | -use DOMElement; |
|
| 28 | -use DateTime; |
|
| 29 | 27 | |
| 30 | 28 | class Make |
| 31 | 29 | { |