Test Failed
Push — main ( 577f79...66b7bb )
by Daniel
02:12
created
source/ElectronicInvoiceComments.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         return $strToReturn;
86 86
     }
87 87
 
88
-    private function getOneOrMultipleTags(string|array $inElement, array $arrayIn): array
88
+    private function getOneOrMultipleTags(string | array $inElement, array $arrayIn): array
89 89
     {
90 90
         $arrayToReturn = [];
91 91
         if (is_array($inElement)) {
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             'BT'    => 'Field',
106 106
             'UBL21' => 'Spec',
107 107
         ];
108
-        $strIdType    = 'unknown';
108
+        $strIdType = 'unknown';
109 109
         if (in_array($strKeyPrefix, array_keys($arrayMapping))) {
110 110
             $strIdType = $arrayMapping[$strKeyPrefix];
111 111
         }
Please login to merge, or discard this patch.
source/TraitBasic.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         return $this->getJsonFromFile('json/ElectronicInvoiceComments.json');
39 39
     }
40 40
 
41
-    private function getElements(\SimpleXMLElement|null $arrayIn): array
41
+    private function getElements(\SimpleXMLElement | null $arrayIn): array
42 42
     {
43 43
         $arrayToReturn = [];
44 44
         if (!is_null($arrayIn)) {
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         return $arrayToReturn;
57 57
     }
58 58
 
59
-    private function getElementSingle(\SimpleXMLElement|null $value)
59
+    private function getElementSingle(\SimpleXMLElement | null $value)
60 60
     {
61 61
         $arrayToReturn = [];
62 62
         if (!is_null($value)) {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         $this->arraySettings['CustomOrder'] = $this->getJsonFromFile('json/ElectronicInvoiceHierarchyTagOrder.json');
97 97
     }
98 98
 
99
-    private function getMultipleElementsStandard(array|\SimpleXMLElement $arrayIn): array
99
+    private function getMultipleElementsStandard(array | \SimpleXMLElement $arrayIn): array
100 100
     {
101 101
         $arrayToReturn = [];
102 102
         $intLineNo     = 0;
Please login to merge, or discard this patch.
source/ElectronicInvoiceRead.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
                         ]);
126 126
                         break;
127 127
                     case 'SingleCompanyWithoutParty':
128
-                        $arrayDocument[$strCAC][$key]          = $this->getAccountingCustomerOrSupplierParty([
128
+                        $arrayDocument[$strCAC][$key] = $this->getAccountingCustomerOrSupplierParty([
129 129
                             'data' => $arrayParams['CAC']->$key,
130 130
                             'type' => $key,
131 131
                         ]);
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
         return $arrayDocument;
137 137
     }
138 138
 
139
-    private function getMultiplePaymentMeansElements(array|\SimpleXMLElement $arrayIn): array
139
+    private function getMultiplePaymentMeansElements(array | \SimpleXMLElement $arrayIn): array
140 140
     {
141 141
         $arrayToReturn = [];
142 142
         $intLineNo     = 0;
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
             'DocumentNameSpaces' => $arrayDocument['DocumentNameSpaces'],
163 163
             'DocumentTagName'    => $arrayDocument['DocumentTagName'],
164 164
         ]);
165
-        $arrayDocument['Lines']  = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']);
165
+        $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']);
166 166
         return $arrayDocument;
167 167
     }
168 168
 }
Please login to merge, or discard this patch.
source/ElectronicInvoiceWrite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
         }
191 191
     }
192 192
 
193
-    protected function setNumericValue(string $strTag, array $arrayDataIn): string|float
193
+    protected function setNumericValue(string $strTag, array $arrayDataIn): string | float
194 194
     {
195 195
         $sReturn      = $arrayDataIn['value'];
196 196
         $arrayRawTags = ['CreditedQuantity', 'EndpointID', 'InvoicedQuantity', 'ItemClassificationCode', 'PriceAmount'];
Please login to merge, or discard this patch.