@@ -58,7 +58,7 @@ |
||
| 58 | 58 | break; |
| 59 | 59 | case 'Multiple': |
| 60 | 60 | //$arrayOutput[$strElement] = $this->getMultipleElements($child->children('cac', true)->$strElement); |
| 61 | - $intLineNo = 0; |
|
| 61 | + $intLineNo = 0; |
|
| 62 | 62 | foreach ($child->children('cac', true)->$strElement as $value2) { |
| 63 | 63 | $intLineNo++; |
| 64 | 64 | $intLineStr = $this->getLineStringFromNumber($intLineNo); |
@@ -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)) { |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | return ($intLineNo < 10 ? '0' : '') . $intLineNo; |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | - private function getMultipleElementsStandard(array|\SimpleXMLElement $arrayIn): array |
|
| 104 | + private function getMultipleElementsStandard(array | \SimpleXMLElement $arrayIn): array |
|
| 105 | 105 | { |
| 106 | 106 | $arrayToReturn = []; |
| 107 | 107 | $intLineNo = 0; |