@@ -256,7 +256,7 @@ |
||
256 | 256 | //xml may be a NFe or a CTe or a CCe nothing else |
257 | 257 | if ($type != 'NFe' && $type != 'CTe' && $type != 'CCe') { |
258 | 258 | $msg = "Você deve passar apenas uma NFe ou um CTe ou um CCe. " |
259 | - . "Esse documento não foi reconhecido."; |
|
259 | + . "Esse documento não foi reconhecido."; |
|
260 | 260 | throw new \InvalidArgumentException($msg); |
261 | 261 | } |
262 | 262 | $this->type = $type; |
@@ -206,6 +206,4 @@ |
||
206 | 206 | $mail->loadDocuments($xml, $pdf); |
207 | 207 | $mail->loadTemplate($htmltemplate); |
208 | 208 | $mail->send($addresses, false); |
209 | - return $mail; |
|
210 | - } |
|
211 | -} |
|
209 | + return $mail |
|
212 | 210 | \ No newline at end of file |