@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | { |
120 | 120 | $arrayToReturn = []; |
121 | 121 | $strFileMime = mime_content_type($strFile->getRealPath()); |
122 | - switch($strFileMime) { |
|
122 | + switch ($strFileMime) { |
|
123 | 123 | case 'application/json': |
124 | 124 | $arrayError = $this->getArrayFromJsonFile($strFile->getPath(), $strFile->getFilename()); |
125 | 125 | $arrayToReturn = $this->setStandardizedFeedbackArray([ |
@@ -256,9 +256,9 @@ discard block |
||
256 | 256 | $appR = new \danielgp\efactura\ClassElectronicInvoiceRead(); |
257 | 257 | $objFile = $appR->readElectronicXmlHeader($arrayData['strInvoiceContent']); |
258 | 258 | $documentHeaderTag = $appR->getDocumentRoot($objFile); |
259 | - switch($documentHeaderTag['DocumentTagName']) { |
|
259 | + switch ($documentHeaderTag['DocumentTagName']) { |
|
260 | 260 | case 'header': |
261 | - switch($documentHeaderTag['DocumentNameSpaces']['']) { |
|
261 | + switch ($documentHeaderTag['DocumentNameSpaces']['']) { |
|
262 | 262 | case 'mfp:anaf:dgti:efactura:mesajEroriFactuta:v1': |
263 | 263 | $arrayTemp = $this->setErrorsFromExtendedMarkupLaguage($arrayData, $strErrorTag); |
264 | 264 | $arrayToReturn = array_merge($arrayToReturn, $arrayTemp); |