@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | return $arrayDocument; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | - private function getHeaderComponents(array $arrayParams, string $key, string $value): array|string |
|
| 95 | + private function getHeaderComponents(array $arrayParams, string $key, string $value): array | string |
|
| 96 | 96 | { |
| 97 | 97 | $arrayDocument = []; |
| 98 | 98 | if ($value === 'SingleCompany') { |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | ]) |
| 104 | 104 | ]; |
| 105 | 105 | } else { |
| 106 | - $arrayMapping = [ |
|
| 106 | + $arrayMapping = [ |
|
| 107 | 107 | 'Multiple' => [ |
| 108 | 108 | 'getMultipleElementsByKey' |
| 109 | 109 | , $arrayParams['data']->children('cac', true)->$key |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | 'data' => $objFile->children('cbc', true), |
| 136 | 136 | 'namespace_cbc' => $arrayDocument['DocumentNameSpaces']['cbc'], |
| 137 | 137 | ]); |
| 138 | - $arrayAggregates = $this->getHeader([ |
|
| 138 | + $arrayAggregates = $this->getHeader([ |
|
| 139 | 139 | 'CAC' => $objFile->children('cac', true), |
| 140 | 140 | 'data' => $objFile, |
| 141 | 141 | ]); |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | $this->getBasicOrAggregateKey($arrayDocument['DocumentNameSpaces'], 'cbc') => $arrayBasics, |
| 144 | 144 | $this->getBasicOrAggregateKey($arrayDocument['DocumentNameSpaces'], 'cac') => $arrayAggregates, |
| 145 | 145 | ]; |
| 146 | - $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
| 146 | + $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
| 147 | 147 | return $arrayDocument; |
| 148 | 148 | } |
| 149 | 149 | } |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | private function getButtonForLocalisation(string $strLanguageCountry): string |
| 32 | 32 | { |
| 33 | - $arrayMapFlags = [ |
|
| 33 | + $arrayMapFlags = [ |
|
| 34 | 34 | 'ro_RO' => 'ro', |
| 35 | 35 | 'it_IT' => 'it', |
| 36 | 36 | 'en_US' => 'us', |