@@ -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 |
@@ -1828,10 +1828,6 @@ discard block |
||
| 1828 | 1828 | * tagVag |
| 1829 | 1829 | * tag MDFe/infMDFe/infModal/ferrov/trem/vag |
| 1830 | 1830 | * |
| 1831 | - * @param string $serie |
|
| 1832 | - * @param string $nVag |
|
| 1833 | - * @param string $nSeq |
|
| 1834 | - * @param string $tonUtil |
|
| 1835 | 1831 | * |
| 1836 | 1832 | * @return DOMElement |
| 1837 | 1833 | */ |
@@ -2191,7 +2187,6 @@ discard block |
||
| 2191 | 2187 | * condutor |
| 2192 | 2188 | * tag MDFe/infMDFe/infModal/rodo/veicTracao/condutor |
| 2193 | 2189 | * |
| 2194 | - * @param string $cEmbComb |
|
| 2195 | 2190 | * |
| 2196 | 2191 | * @return DOMElement |
| 2197 | 2192 | */ |
@@ -2728,7 +2723,7 @@ discard block |
||
| 2728 | 2723 | * Replace all unsuported chars |
| 2729 | 2724 | * |
| 2730 | 2725 | * @param stdClass $std |
| 2731 | - * @param array $possible |
|
| 2726 | + * @param string[] $possible |
|
| 2732 | 2727 | * @return stdClass |
| 2733 | 2728 | */ |
| 2734 | 2729 | private function equilizeParameters(stdClass $std, $possible) |
@@ -23,10 +23,8 @@ |
||
| 23 | 23 | use NFePHP\Common\Strings; |
| 24 | 24 | use stdClass; |
| 25 | 25 | use RuntimeException; |
| 26 | -use InvalidArgumentException; |
|
| 27 | 26 | use DOMElement; |
| 28 | 27 | use DateTime; |
| 29 | -use Exception; |
|
| 30 | 28 | |
| 31 | 29 | class Make |
| 32 | 30 | { |