@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | ], |
| 66 | 66 | ]; |
| 67 | 67 | // optional components ========================================================================================= |
| 68 | - $arrayOutput = []; |
|
| 68 | + $arrayOutput = []; |
|
| 69 | 69 | foreach ($this->arraySettings['CustomOrder']['Header_CAC'] as $key => $value) { |
| 70 | 70 | if (isset($arrayParams['CAC']->$key)) { |
| 71 | 71 | switch ($value) { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | ->CreditNoteTypeCode->__toString(); |
| 122 | 122 | break; |
| 123 | 123 | case 'Invoice': |
| 124 | - $arrayOutput['InvoiceTypeCode'] = (integer) $objCommonBasicComponents |
|
| 124 | + $arrayOutput['InvoiceTypeCode'] = (integer) $objCommonBasicComponents |
|
| 125 | 125 | ->InvoiceTypeCode->__toString(); |
| 126 | 126 | break; |
| 127 | 127 | } |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | 'DocumentNameSpaces' => $arrayDocument['DocumentNameSpaces'], |
| 143 | 143 | 'DocumentTagName' => $arrayDocument['DocumentTagName'], |
| 144 | 144 | ]); |
| 145 | - $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
| 145 | + $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
| 146 | 146 | return $arrayDocument; |
| 147 | 147 | } |
| 148 | 148 | } |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | $this->arraySettings['CustomOrder'] = $this->getJsonFromFile('ElectronicInvoiceHierarchyTagOrder.json'); |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | - private function getMultipleElements(array|\SimpleXMLElement $arrayIn): array |
|
| 83 | + private function getMultipleElements(array | \SimpleXMLElement $arrayIn): array |
|
| 84 | 84 | { |
| 85 | 85 | $arrayToReturn = []; |
| 86 | 86 | $intLineNo = 0; |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | return $arrayToReturn; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | - private function getMultipleElementsStandard(array|\SimpleXMLElement $arrayIn): array |
|
| 95 | + private function getMultipleElementsStandard(array | \SimpleXMLElement $arrayIn): array |
|
| 96 | 96 | { |
| 97 | 97 | $arrayToReturn = []; |
| 98 | 98 | $intLineNo = 0; |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | case 'CommodityClassification': |
| 111 | 111 | // intentionally left open |
| 112 | 112 | case 'StandardItemIdentification': |
| 113 | - $intLineNo = 0; |
|
| 113 | + $intLineNo = 0; |
|
| 114 | 114 | foreach ($child3->children('cac', true)->$value as $value2) { |
| 115 | 115 | $intLineNo++; |
| 116 | 116 | $intLineStr = ($intLineNo < 10 ? '0' : '') . $intLineNo; |