Passed
Push — main ( a8d720...b18f8c )
by Daniel
02:10
created
source/ElectornicInvoiceWrite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
         $this->objXmlWriter->startDocument('1.0', 'UTF-8');
68 68
         // if no DocumentNameSpaces seen take Default ones from local configuration
69 69
         $this->getSettingsFromFileIntoMemory();
70
-        $arrayDefaults      = $this->getDefaultsIntoDataSet($arrayDocumentData);
70
+        $arrayDefaults = $this->getDefaultsIntoDataSet($arrayDocumentData);
71 71
         if ($arrayDefaults !== []) {
72 72
             $arrayDocumentData = array_merge($arrayDocumentData, $arrayDefaults['Root']);
73 73
             if (!array_key_exists('CustomizationID', $arrayDocumentData['Header']['CommonBasicComponents-2'])) {
Please login to merge, or discard this patch.
source/TraitHeader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
source/TraitLines.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
source/ElectornicInvoiceRead.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.