Passed
Push — main ( 249e74...164d6f )
by Daniel
02:02
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)) {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         return ($intLineNo < 10 ? '0' : '') . $intLineNo;
102 102
     }
103 103
 
104
-    private function getMultipleElementsStandard(array|\SimpleXMLElement $arrayIn): array
104
+    private function getMultipleElementsStandard(array | \SimpleXMLElement $arrayIn): array
105 105
     {
106 106
         $arrayToReturn = [];
107 107
         $intLineNo     = 0;
Please login to merge, or discard this patch.
source/TraitVersions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
         return $strCommentParentKey;
167 167
     }
168 168
 
169
-    protected function setNumericValue(string $strTag, array $arrayDataIn): string|float
169
+    protected function setNumericValue(string $strTag, array $arrayDataIn): string | float
170 170
     {
171 171
         $sReturn      = $arrayDataIn['value'];
172 172
         $arrayRawTags = ['CreditedQuantity', 'EndpointID', 'InvoicedQuantity', 'ItemClassificationCode', 'PriceAmount'];
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
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
     private function getHeader(array $arrayParams): array
91 91
     {
92
-        $arrayDocument                      = $this->getElementsOrdered([
92
+        $arrayDocument = $this->getElementsOrdered([
93 93
             'data'          => $arrayParams['CBC'],
94 94
             'namespace_cbc' => $arrayParams['DocumentNameSpaces']['cbc'],
95 95
         ]);
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         return $arrayDocument;
130 130
     }
131 131
 
132
-    private function getMultipleElements(array|\SimpleXMLElement $arrayIn): array
132
+    private function getMultipleElements(array | \SimpleXMLElement $arrayIn): array
133 133
     {
134 134
         $arrayToReturn = [];
135 135
         $intLineNo     = 0;
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
             'DocumentNameSpaces' => $arrayDocument['DocumentNameSpaces'],
157 157
             'DocumentTagName'    => $arrayDocument['DocumentTagName'],
158 158
         ]);
159
-        $arrayDocument['Lines']  = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']);
159
+        $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']);
160 160
         return $arrayDocument;
161 161
     }
162 162
 }
Please login to merge, or discard this patch.