@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | private function getHeader(array $arrayParams): array |
| 96 | 96 | { |
| 97 | - $arrayDocument = $this->getElementsOrdered([ |
|
| 97 | + $arrayDocument = $this->getElementsOrdered([ |
|
| 98 | 98 | 'data' => $arrayParams['CBC'], |
| 99 | 99 | 'namespace_cbc' => $arrayParams['DocumentNameSpaces']['cbc'], |
| 100 | 100 | ]); |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | return $arrayDocument; |
| 135 | 135 | } |
| 136 | 136 | |
| 137 | - private function getMultiplePaymentMeansElements(array|\SimpleXMLElement $arrayIn): array |
|
| 137 | + private function getMultiplePaymentMeansElements(array | \SimpleXMLElement $arrayIn): array |
|
| 138 | 138 | { |
| 139 | 139 | $arrayToReturn = []; |
| 140 | 140 | $intLineNo = 0; |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | 'DocumentNameSpaces' => $arrayDocument['DocumentNameSpaces'], |
| 161 | 161 | 'DocumentTagName' => $arrayDocument['DocumentTagName'], |
| 162 | 162 | ]); |
| 163 | - $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
| 163 | + $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
| 164 | 164 | return $arrayDocument; |
| 165 | 165 | } |
| 166 | 166 | } |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | 'Lines_AllowanceCharge' => 'ArrayElementsOrdered', |
| 60 | 60 | 'Delivery_DeliveryLocation_ID' => 'SingleElementWithAttribute', |
| 61 | 61 | ]; |
| 62 | - $arrayTagMapping = [ |
|
| 62 | + $arrayTagMapping = [ |
|
| 63 | 63 | 'EmbeddedDocumentBinaryObject' => 'SingleElementWithAttribute', |
| 64 | 64 | 'EndpointID' => 'SingleElementWithAttribute', |
| 65 | 65 | 'AdditionalItemProperty' => 'MultipleElementsOrdered', |
@@ -233,7 +233,7 @@ discard block |
||
| 233 | 233 | } |
| 234 | 234 | } |
| 235 | 235 | |
| 236 | - protected function setNumericValue(string $strTag, array $arrayDataIn): string|float |
|
| 236 | + protected function setNumericValue(string $strTag, array $arrayDataIn): string | float |
|
| 237 | 237 | { |
| 238 | 238 | $sReturn = $arrayDataIn['value']; |
| 239 | 239 | $arrayRawTags = ['CreditedQuantity', 'EndpointID', 'InvoicedQuantity', 'ItemClassificationCode', 'PriceAmount']; |