Passed
Push — main ( 779a2b...d54aa7 )
by Daniel
02:07
created
source/ElectronicInvoiceWrite.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 
182 182
     public function writeElectronicInvoice(string $strFile, array $arrayDataIn, bool $bolComments, bool $bolSchemaLocation = false): void
183 183
     {
184
-        $this->objXmlWriter          = new \XMLWriter();
184
+        $this->objXmlWriter = new \XMLWriter();
185 185
         $this->objXmlWriter->openURI($strFile);
186 186
         $this->objXmlWriter->setIndent(true);
187 187
         $this->objXmlWriter->setIndentString(str_repeat(' ', 4));
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
             'TaxTotal'                    => 'Single',
211 211
             'LegalMonetaryTotal'          => 'Single',
212 212
         ];
213
-        $arrayAggregates             = $arrayData['Header']['CommonAggregateComponents-2'];
213
+        $arrayAggregates = $arrayData['Header']['CommonAggregateComponents-2'];
214 214
         foreach ($arrayOptionalElementsHeader as $key => $strLogicType) {
215 215
             if (array_key_exists($key, $arrayDataIn) || array_key_exists($key, $arrayAggregates)) {
216 216
                 switch ($strLogicType) {
Please login to merge, or discard this patch.