@@ -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 | } |
@@ -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; |
@@ -120,14 +120,14 @@ discard block |
||
120 | 120 | ->CreditNoteTypeCode->__toString(); |
121 | 121 | break; |
122 | 122 | case 'Invoice': |
123 | - $arrayOutput['InvoiceTypeCode'] = (integer) $objCommonBasicComponents |
|
123 | + $arrayOutput['InvoiceTypeCode'] = (integer) $objCommonBasicComponents |
|
124 | 124 | ->InvoiceTypeCode->__toString(); |
125 | 125 | break; |
126 | 126 | } |
127 | 127 | return $arrayOutput; |
128 | 128 | } |
129 | 129 | |
130 | - private function getMultipleElements(array|\SimpleXMLElement $arrayIn): array |
|
130 | + private function getMultipleElements(array | \SimpleXMLElement $arrayIn): array |
|
131 | 131 | { |
132 | 132 | $arrayToReturn = []; |
133 | 133 | $intLineNo = 0; |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | 'DocumentNameSpaces' => $arrayDocument['DocumentNameSpaces'], |
154 | 154 | 'DocumentTagName' => $arrayDocument['DocumentTagName'], |
155 | 155 | ]); |
156 | - $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
156 | + $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
157 | 157 | return $arrayDocument; |
158 | 158 | } |
159 | 159 | } |
@@ -80,7 +80,7 @@ |
||
80 | 80 | $this->arraySettings['CustomOrder'] = $this->getJsonFromFile('ElectronicInvoiceHierarchyTagOrder.json'); |
81 | 81 | } |
82 | 82 | |
83 | - private function getMultipleElementsStandard(array|\SimpleXMLElement $arrayIn): array |
|
83 | + private function getMultipleElementsStandard(array | \SimpleXMLElement $arrayIn): array |
|
84 | 84 | { |
85 | 85 | $arrayToReturn = []; |
86 | 86 | $intLineNo = 0; |