@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | private function getButtonForLocalisation(string $strLanguageCountry): string |
33 | 33 | { |
34 | - $arrayMapFlags = [ |
|
34 | + $arrayMapFlags = [ |
|
35 | 35 | 'ro_RO' => 'ro', |
36 | 36 | 'it_IT' => 'it', |
37 | 37 | 'en_US' => 'us', |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | 'action' => FILTER_SANITIZE_SPECIAL_CHARS, |
100 | 100 | ]; |
101 | 101 | $arrayInputs = filter_input_array(INPUT_GET, $arrayOptions, true); |
102 | - switch($arrayInputs['action']) { |
|
102 | + switch ($arrayInputs['action']) { |
|
103 | 103 | case 'AnalyzeZIPfromANAFfromLocalFolder': |
104 | 104 | echo '<div class="tabber" id="tabStandard">' |
105 | 105 | . '<div class="tabbertab" id="tab1" title="Filters">'; |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | { |
131 | 131 | $arrayToReturn = []; |
132 | 132 | $strFileMime = mime_content_type($strFile->getRealPath()); |
133 | - switch($strFileMime) { |
|
133 | + switch ($strFileMime) { |
|
134 | 134 | case 'application/json': |
135 | 135 | $arrayError = $this->getArrayFromJsonFile($strFile->getPath(), $strFile->getFilename()); |
136 | 136 | $arrayToReturn = $this->setStandardizedFeedbackArray([ |
@@ -275,9 +275,9 @@ discard block |
||
275 | 275 | $appR = new \danielgp\efactura\ClassElectronicInvoiceRead(); |
276 | 276 | $objFile = $appR->readElectronicXmlHeader(filter_var($arrayData['strInvoiceContent'], FILTER_FLAG_ENCODE_LOW | FILTER_FLAG_ENCODE_HIGH)); |
277 | 277 | $documentHeaderTag = $appR->getDocumentRoot($objFile); |
278 | - switch($documentHeaderTag['DocumentTagName']) { |
|
278 | + switch ($documentHeaderTag['DocumentTagName']) { |
|
279 | 279 | case 'header': |
280 | - switch($documentHeaderTag['DocumentNameSpaces']['']) { |
|
280 | + switch ($documentHeaderTag['DocumentNameSpaces']['']) { |
|
281 | 281 | case 'mfp:anaf:dgti:efactura:mesajEroriFactuta:v1': |
282 | 282 | $arrayTemp = $this->setErrorsFromExtendedMarkupLaguage($arrayData, $strErrorTag); |
283 | 283 | $arrayToReturn = array_merge($arrayToReturn, $arrayTemp); |