Passed
Branch main (414ba2)
by Daniel
13:06 queued 25s
created
Category
source/electornicInvoiceWrite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
         $this->objXmlWriter->setIndent(true);
115 115
         $this->objXmlWriter->setIndentString(str_repeat(' ', 4));
116 116
         $this->objXmlWriter->startDocument('1.0', 'UTF-8');
117
-        $arrayVersion       = $this->establishCurrentVersion($this->arrayUniformResourceLocator['Versions']);
117
+        $arrayVersion = $this->establishCurrentVersion($this->arrayUniformResourceLocator['Versions']);
118 118
         $this->setDocumentHeader($arrayDocumentData['DocumentTagName']);
119 119
         $this->setDocumentHeaderVersions($arrayVersion);
120 120
         // TODO: add logic for each section
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
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             'DocumentNameSpaces' => $arrayDocument['DocumentNameSpaces'],
50 50
             'DocumentTagName'    => $arrayDocument['DocumentTagName'],
51 51
         ]);
52
-        $intLineNo               = 0;
52
+        $intLineNo = 0;
53 53
         foreach ($objFile->children('cac', true) as $child) {
54 54
             $strCurrentTag = $child->getName();
55 55
             switch ($strCurrentTag) {
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.