| @@ -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 | } | 
| @@ -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()); |