@@ -92,7 +92,7 @@ |
||
| 92 | 92 | ->CreditNoteTypeCode->__toString(); |
| 93 | 93 | break; |
| 94 | 94 | case 'Invoice': |
| 95 | - $arrayOutput['InvoiceTypeCode'] = (integer) $objCommonBasicComponents |
|
| 95 | + $arrayOutput['InvoiceTypeCode'] = (integer) $objCommonBasicComponents |
|
| 96 | 96 | ->InvoiceTypeCode->__toString(); |
| 97 | 97 | break; |
| 98 | 98 | } |
@@ -186,7 +186,7 @@ |
||
| 186 | 186 | $this->objXmlWriter->setIndent(true); |
| 187 | 187 | $this->objXmlWriter->setIndentString(str_repeat(' ', 4)); |
| 188 | 188 | $this->objXmlWriter->startDocument('1.0', 'UTF-8'); |
| 189 | - $arrayData = $this->loadSettingsAndManageDefaults($arrayDataIn, $bolComments, $bolSchemaLocation); |
|
| 189 | + $arrayData = $this->loadSettingsAndManageDefaults($arrayDataIn, $bolComments, $bolSchemaLocation); |
|
| 190 | 190 | $this->setDocumentTag($arrayData); |
| 191 | 191 | $this->setHeaderCommonBasicComponents($arrayData['Header']['CommonBasicComponents-2']); |
| 192 | 192 | foreach (['InvoicePeriod', 'OrderReference', 'BillingReference', 'DespatchDocumentReference', 'ReceiptDocumentReference', 'OriginatorDocumentReference', 'ContractDocumentReference', 'ProjectReference'] as $strElement) { |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | return $strToReturn; |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | - private function getOneOrMultipleTags(string|array $inElement, array $arrayIn): array |
|
| 88 | + private function getOneOrMultipleTags(string | array $inElement, array $arrayIn): array |
|
| 89 | 89 | { |
| 90 | 90 | $arrayToReturn = []; |
| 91 | 91 | if (is_array($inElement)) { |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | 'BT' => 'Field', |
| 106 | 106 | 'UBL21' => 'Spec', |
| 107 | 107 | ]; |
| 108 | - $strIdType = 'unknown'; |
|
| 108 | + $strIdType = 'unknown'; |
|
| 109 | 109 | if (in_array($strKeyPrefix, array_keys($arrayMapping))) { |
| 110 | 110 | $strIdType = $arrayMapping[$strKeyPrefix]; |
| 111 | 111 | } |