@@ -70,7 +70,7 @@ |
||
| 70 | 70 | return $arrayStandardized; |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | - private function handleResponseFile(\SplFileInfo|string $strFile): array |
|
| 73 | + private function handleResponseFile(\SplFileInfo | string $strFile): array |
|
| 74 | 74 | { |
| 75 | 75 | $arrayToReturn = []; |
| 76 | 76 | $strFileMime = mime_content_type($strFile->getRealPath()); |
@@ -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', |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | return $arrayDocument; |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | - private function getHeaderComponents(array $arrayParams, string $key, string $value): array|string |
|
| 108 | + private function getHeaderComponents(array $arrayParams, string $key, string $value): array | string |
|
| 109 | 109 | { |
| 110 | 110 | $arrayDocument = []; |
| 111 | 111 | if ($value === 'SingleCompany') { |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | ]) |
| 118 | 118 | ]; |
| 119 | 119 | } else { |
| 120 | - $arrayMapping = [ |
|
| 120 | + $arrayMapping = [ |
|
| 121 | 121 | 'Multiple' => [ |
| 122 | 122 | 'getMultipleElementsByKey' |
| 123 | 123 | , $arrayParams['data']->children('cac', true)->$key |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | 'data' => $objFile->children($strMap['cbc'], true), |
| 151 | 151 | 'namespace_cbc' => $arrayDocument['DocumentNameSpaces'][$strMap['cbc']], |
| 152 | 152 | ]); |
| 153 | - $arrayAggregates = $this->getHeader([ |
|
| 153 | + $arrayAggregates = $this->getHeader([ |
|
| 154 | 154 | 'CAC' => $objFile->children($strMap['cac'], true), |
| 155 | 155 | 'data' => $objFile, |
| 156 | 156 | ]); |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | $this->getBasicOrAggregateKey($arrayDocument['DocumentNameSpaces'], $strMap['cbc']) => $arrayBasics, |
| 159 | 159 | $this->getBasicOrAggregateKey($arrayDocument['DocumentNameSpaces'], $strMap['cac']) => $arrayAggregates, |
| 160 | 160 | ]; |
| 161 | - $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
| 161 | + $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
| 162 | 162 | return $arrayDocument; |
| 163 | 163 | } |
| 164 | 164 | } |