@@ -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 |
@@ -3,9 +3,9 @@ |
||
| 3 | 3 | namespace NFePHP\MDFe; |
| 4 | 4 | |
| 5 | 5 | use DOMDocument; |
| 6 | +use NFePHP\Common\Strings; |
|
| 6 | 7 | use NFePHP\MDFe\Common\Standardize; |
| 7 | 8 | use NFePHP\MDFe\Exception\DocumentsException; |
| 8 | -use NFePHP\Common\Strings; |
|
| 9 | 9 | |
| 10 | 10 | class Complements |
| 11 | 11 | { |
@@ -1743,10 +1743,6 @@ discard block |
||
| 1743 | 1743 | * tagVag |
| 1744 | 1744 | * tag MDFe/infMDFe/infModal/ferrov/trem/vag |
| 1745 | 1745 | * |
| 1746 | - * @param string $serie |
|
| 1747 | - * @param string $nVag |
|
| 1748 | - * @param string $nSeq |
|
| 1749 | - * @param string $tonUtil |
|
| 1750 | 1746 | * |
| 1751 | 1747 | * @return DOMElement |
| 1752 | 1748 | */ |
@@ -1822,12 +1818,6 @@ discard block |
||
| 1822 | 1818 | * tagaquav |
| 1823 | 1819 | * tag MDFe/infMDFe/infModal/aquav |
| 1824 | 1820 | * |
| 1825 | - * @param string $cnpjAgeNav |
|
| 1826 | - * @param string $tpEmb |
|
| 1827 | - * @param string $cEmbar |
|
| 1828 | - * @param string $nViagem |
|
| 1829 | - * @param string $cPrtEmb |
|
| 1830 | - * @param string $cPrtDest |
|
| 1831 | 1821 | * |
| 1832 | 1822 | * @return DOMElement |
| 1833 | 1823 | */ |
@@ -2108,7 +2098,6 @@ discard block |
||
| 2108 | 2098 | * condutor |
| 2109 | 2099 | * tag MDFe/infMDFe/infModal/rodo/veicTracao/condutor |
| 2110 | 2100 | * |
| 2111 | - * @param string $cEmbComb |
|
| 2112 | 2101 | * |
| 2113 | 2102 | * @return DOMElement |
| 2114 | 2103 | */ |
@@ -2569,7 +2558,7 @@ discard block |
||
| 2569 | 2558 | * Includes missing or unsupported properties in stdClass |
| 2570 | 2559 | * Replace all unsuported chars |
| 2571 | 2560 | * @param stdClass $std |
| 2572 | - * @param array $possible |
|
| 2561 | + * @param string[] $possible |
|
| 2573 | 2562 | * @return stdClass |
| 2574 | 2563 | */ |
| 2575 | 2564 | protected function equilizeParameters(stdClass $std, $possible) |