Skip to content

Commit

Permalink
Fix result type of DocumentNo in ZugferdDocumentReader::getDocumentIn…
Browse files Browse the repository at this point in the history
…formation
  • Loading branch information
HorstOeko committed Oct 23, 2024
1 parent 31877c6 commit 65ce898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZugferdDocumentReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ protected function readContent(string $xmlcontent): ZugferdDocumentReader
*/
public function getDocumentInformation(?string &$documentno, ?string &$documenttypecode, ?DateTime &$documentdate, ?string &$invoiceCurrency, ?string &$taxCurrency, ?string &$documentname, ?string &$documentlanguage, ?DateTime &$effectiveSpecifiedPeriod): ZugferdDocumentReader
{
$documentno = $this->getInvoiceValueByPath("getExchangedDocument.getID", "");
$documentno = $this->getInvoiceValueByPath("getExchangedDocument.getID.value", "");
$documenttypecode = $this->getInvoiceValueByPath("getExchangedDocument.getTypeCode.value", "");
$documentdate = $this->getObjectHelper()->toDateTime(
$this->getInvoiceValueByPath("getExchangedDocument.getIssueDateTime.getDateTimeString", ""),
Expand Down

0 comments on commit 65ce898

Please sign in to comment.