@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | 'TaxTotal' => $this->getTaxTotal($arrayParams['CAC']->TaxTotal), |
50 | 50 | ], |
51 | 51 | ]; |
52 | - $intLineNo = 0; |
|
52 | + $intLineNo = 0; |
|
53 | 53 | if (isset($arrayParams['CAC']->PaymentMeans)) { |
54 | 54 | foreach ($arrayParams['CAC']->PaymentMeans as $child) { |
55 | 55 | $intLineNo++; |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | ->CreditNoteTypeCode->__toString(); |
97 | 97 | break; |
98 | 98 | case 'Invoice': |
99 | - $arrayOutput['InvoiceTypeCode'] = (integer) $objCommonBasicComponents |
|
99 | + $arrayOutput['InvoiceTypeCode'] = (integer) $objCommonBasicComponents |
|
100 | 100 | ->InvoiceTypeCode->__toString(); |
101 | 101 | break; |
102 | 102 | } |
@@ -125,7 +125,7 @@ |
||
125 | 125 | ]; |
126 | 126 | break; |
127 | 127 | case 'SellersItemIdentification': |
128 | - $arrayOutput[$strName]['ID'] = $value->children('cbc', true)->ID->__toString(); |
|
128 | + $arrayOutput[$strName]['ID'] = $value->children('cbc', true)->ID->__toString(); |
|
129 | 129 | break; |
130 | 130 | } |
131 | 131 | } |
@@ -59,7 +59,7 @@ |
||
59 | 59 | 'DocumentNameSpaces' => $arrayDocument['DocumentNameSpaces'], |
60 | 60 | 'DocumentTagName' => $arrayDocument['DocumentTagName'], |
61 | 61 | ]); |
62 | - $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
62 | + $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
63 | 63 | return $arrayDocument; |
64 | 64 | } |
65 | 65 | } |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | 'data' => $arrayInput['data'][$value], |
53 | 53 | 'tag' => '', |
54 | 54 | ]); |
55 | - } elseif (str_ends_with($value, 'Quantity')) { |
|
55 | + } elseif (str_ends_with($value, 'Quantity')) { |
|
56 | 56 | $this->setElementWithAttribute([ |
57 | 57 | 'attrib' => 'unitCode', |
58 | 58 | 'data' => $arrayInput['data'][$value], |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | } |
100 | 100 | |
101 | 101 | private function setHeaderCommonAggregateComponentsCompanies(array $arrayParameters): void { |
102 | - $key = $arrayParameters['tag']; |
|
102 | + $key = $arrayParameters['tag']; |
|
103 | 103 | $this->setElementComment($key); |
104 | 104 | $this->objXmlWriter->startElement('cac:' . $key); |
105 | 105 | $this->objXmlWriter->startElement('cac:Party'); |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | $this->objXmlWriter->startDocument('1.0', 'UTF-8'); |
181 | 181 | // if no DocumentNameSpaces seen take Default ones from local configuration |
182 | 182 | $this->getSettingsFromFileIntoMemory($bolComments); |
183 | - $arrayDefaults = $this->getDefaultsIntoDataSet($arrayData); |
|
183 | + $arrayDefaults = $this->getDefaultsIntoDataSet($arrayData); |
|
184 | 184 | if ($arrayDefaults !== []) { |
185 | 185 | $arrayData = array_merge($arrayData, $arrayDefaults['Root']); |
186 | 186 | if (!array_key_exists('CustomizationID', $arrayData['Header']['CommonBasicComponents-2'])) { |