@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | |
86 | 86 | private function getHeader(array $arrayParams): array |
87 | 87 | { |
88 | - $arrayDocument = $this->getElementsOrdered([ |
|
88 | + $arrayDocument = $this->getElementsOrdered([ |
|
89 | 89 | 'data' => $arrayParams['CBC'], |
90 | 90 | 'namespace_cbc' => $arrayParams['DocumentNameSpaces']['cbc'], |
91 | 91 | ]); |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | return $arrayDocument; |
121 | 121 | } |
122 | 122 | |
123 | - private function getMultiplePaymentMeansElements(array|\SimpleXMLElement $arrayIn): array |
|
123 | + private function getMultiplePaymentMeansElements(array | \SimpleXMLElement $arrayIn): array |
|
124 | 124 | { |
125 | 125 | $arrayToReturn = []; |
126 | 126 | $intLineNo = 0; |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | 'DocumentNameSpaces' => $arrayDocument['DocumentNameSpaces'], |
147 | 147 | 'DocumentTagName' => $arrayDocument['DocumentTagName'], |
148 | 148 | ]); |
149 | - $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
149 | + $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
150 | 150 | return $arrayDocument; |
151 | 151 | } |
152 | 152 | } |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | return $this->getJsonFromFile('json/ElectronicInvoiceComments.json'); |
39 | 39 | } |
40 | 40 | |
41 | - private function getElements(\SimpleXMLElement|null $arrayIn): array |
|
41 | + private function getElements(\SimpleXMLElement | null $arrayIn): array |
|
42 | 42 | { |
43 | 43 | $arrayToReturn = []; |
44 | 44 | if (count($arrayIn->children('cbc', true)) !== 0) { // checking if we have cbc elements |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | return $arrayToReturn; |
55 | 55 | } |
56 | 56 | |
57 | - private function getElementSingle(\SimpleXMLElement|null $value) |
|
57 | + private function getElementSingle(\SimpleXMLElement | null $value) |
|
58 | 58 | { |
59 | 59 | $arrayToReturn = []; |
60 | 60 | if (count($value->attributes()) === 0) { |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | $this->arraySettings['CustomOrder'] = $this->getJsonFromFile('json/ElectronicInvoiceHierarchyTagOrder.json'); |
95 | 95 | } |
96 | 96 | |
97 | - private function getMultipleElementsStandard(array|\SimpleXMLElement $arrayIn): array |
|
97 | + private function getMultipleElementsStandard(array | \SimpleXMLElement $arrayIn): array |
|
98 | 98 | { |
99 | 99 | $arrayToReturn = []; |
100 | 100 | $intLineNo = 0; |