Passed
Push — main ( 7b6852...4f122a )
by Daniel
02:58
created
source/TraitUserInterfaceLogic.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
             'Error'           => '',
194 194
             'Days_Between'    => '',
195 195
         ];
196
-        $strErrorTag   = '<div style="max-width:200px;font-size:0.8rem;">%s</div>';
196
+        $strErrorTag = '<div style="max-width:200px;font-size:0.8rem;">%s</div>';
197 197
         if (array_key_exists('Error', $arrayData)) {
198 198
             $arrayToReturn['Error'] = sprintf($strErrorTag, $arrayData['Error']);
199 199
             $arrayToReturn['Size']  = 0;
Please login to merge, or discard this patch.
source/ClassElectronicInvoiceRead.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         return $arrayDocument;
93 93
     }
94 94
 
95
-    private function getHeaderComponents(array $arrayParams, string $key, string $value): array|string
95
+    private function getHeaderComponents(array $arrayParams, string $key, string $value): array | string
96 96
     {
97 97
         $arrayDocument = [];
98 98
         if ($value === 'SingleCompany') {
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
                 ])
104 104
             ];
105 105
         } else {
106
-            $arrayMapping  = [
106
+            $arrayMapping = [
107 107
                 'Multiple'                  => [
108 108
                     'getMultipleElementsByKey'
109 109
                     , $arrayParams['data']->children('cac', true)->$key
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
             'data'          => $objFile->children('cbc', true),
136 136
             'namespace_cbc' => $arrayDocument['DocumentNameSpaces']['cbc'],
137 137
         ]);
138
-        $arrayAggregates         = $this->getHeader([
138
+        $arrayAggregates = $this->getHeader([
139 139
             'CAC'  => $objFile->children('cac', true),
140 140
             'data' => $objFile,
141 141
         ]);
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
             $this->getBasicOrAggregateKey($arrayDocument['DocumentNameSpaces'], 'cbc') => $arrayBasics,
144 144
             $this->getBasicOrAggregateKey($arrayDocument['DocumentNameSpaces'], 'cac') => $arrayAggregates,
145 145
         ];
146
-        $arrayDocument['Lines']  = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']);
146
+        $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']);
147 147
         return $arrayDocument;
148 148
     }
149 149
 }
Please login to merge, or discard this patch.