Passed
Push — main ( 1dd856...8e456c )
by Daniel
02:57
created
source/ClassElectronicInvoiceUserInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
                     'ResponseIndex' => $strFile->getBasename('.zip'),
42 42
                     'Type'          => 'Default',
43 43
                 ]);
44
-                $res                       = $classZip->open($strFile->getRealPath(), \ZipArchive::RDONLY);
44
+                $res = $classZip->open($strFile->getRealPath(), \ZipArchive::RDONLY);
45 45
                 if ($res === true) {
46 46
                     $intFilesArchived = $classZip->numFiles;
47 47
                     for ($intArchivedFile = 0; $intArchivedFile < $intFilesArchived; $intArchivedFile++) {
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
                     'wo_VAT' => (float) $arrayAggregate['LegalMonetaryTotal']['TaxExclusiveAmount']['value'],
203 203
                     'TOTAL'  => (float) $arrayAggregate['LegalMonetaryTotal']['TaxInclusiveAmount']['value'],
204 204
                 ];
205
-                $arrayParties                   = [
205
+                $arrayParties = [
206 206
                     'Customer' => $arrayAggregate['AccountingCustomerParty']['Party'],
207 207
                     'Supplier' => $arrayAggregate['AccountingSupplierParty']['Party'],
208 208
                 ];
Please login to merge, or discard this patch.
source/ClassElectronicInvoiceRead.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
                 ])
117 117
             ];
118 118
         } else {
119
-            $arrayMapping  = [
119
+            $arrayMapping = [
120 120
                 'Multiple'                  => [
121 121
                     'getMultipleElementsByKey'
122 122
                     , $arrayParams['data']->children('cac', true)->$key
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
             'data'          => $objFile->children('cbc', true),
147 147
             'namespace_cbc' => $arrayDocument['DocumentNameSpaces']['cbc'],
148 148
         ]);
149
-        $arrayAggregates         = $this->getHeader([
149
+        $arrayAggregates = $this->getHeader([
150 150
             'CAC'  => $objFile->children('cac', true),
151 151
             'data' => $objFile,
152 152
         ]);
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
             $this->getBasicOrAggregateKey($arrayDocument['DocumentNameSpaces'], 'cbc') => $arrayBasics,
155 155
             $this->getBasicOrAggregateKey($arrayDocument['DocumentNameSpaces'], 'cac') => $arrayAggregates,
156 156
         ];
157
-        $arrayDocument['Lines']  = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']);
157
+        $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']);
158 158
         return $arrayDocument;
159 159
     }
160 160
 }
Please login to merge, or discard this patch.