@@ -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 (!is_null($arrayIn)) { |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | return $arrayToReturn; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | - private function getElementSingle(\SimpleXMLElement|null $value) |
|
| 59 | + private function getElementSingle(\SimpleXMLElement | null $value) |
|
| 60 | 60 | { |
| 61 | 61 | $arrayToReturn = []; |
| 62 | 62 | if (!is_null($value)) { |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | return $arrayOutput; |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | - private function getMultipleElementsStandard(array|\SimpleXMLElement $arrayIn): array |
|
| 116 | + private function getMultipleElementsStandard(array | \SimpleXMLElement $arrayIn): array |
|
| 117 | 117 | { |
| 118 | 118 | $arrayToReturn = []; |
| 119 | 119 | $intLineNo = 0; |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | |
| 89 | 89 | private function getHeader(array $arrayParams): array |
| 90 | 90 | { |
| 91 | - $arrayDocument = $this->getElementsOrdered([ |
|
| 91 | + $arrayDocument = $this->getElementsOrdered([ |
|
| 92 | 92 | 'data' => $arrayParams['CBC'], |
| 93 | 93 | 'namespace_cbc' => $arrayParams['DocumentNameSpaces']['cbc'], |
| 94 | 94 | ]); |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | 'DocumentNameSpaces' => $arrayDocument['DocumentNameSpaces'], |
| 144 | 144 | 'DocumentTagName' => $arrayDocument['DocumentTagName'], |
| 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 | } |