@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | { |
| 24 | 24 | use \danielgp\efactura\TraitBasic; |
| 25 | 25 | |
| 26 | - private array $arraystandardMesageFilters = [ |
|
| 26 | + private array $arraystandardMesageFilters = [ |
|
| 27 | 27 | [ |
| 28 | 28 | 'Code' => 'E', |
| 29 | 29 | 'Detail' => 'raspuns cu erorile si semnatura MF, livrat in urma transmiterii unei facturi' |
@@ -231,7 +231,7 @@ discard block |
||
| 231 | 231 | $strRelevantUrl, |
| 232 | 232 | ])); |
| 233 | 233 | // sent XML content using CURL and capture feedback |
| 234 | - $arrayFeedback = $this->getContentFromUrlThroughCurl($strRelevantUrl, [ |
|
| 234 | + $arrayFeedback = $this->getContentFromUrlThroughCurl($strRelevantUrl, [ |
|
| 235 | 235 | 'HttpHeader' => $this->buildHeaderAsArray(), |
| 236 | 236 | ]); |
| 237 | 237 | if ($arrayFeedback['errNo'] === 0) { |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | 'Empty Environment' => $this->arraySolutionCustomSettings['StringElectronicInvoiceEnvironment'], |
| 311 | 311 | 'Non-Standard Environment Value' => $this->arraySolutionCustomSettings['StringElectronicInvoiceEnvironment'], |
| 312 | 312 | ]; |
| 313 | - $arrayValidations = $arrayUniversalValidations; |
|
| 313 | + $arrayValidations = $arrayUniversalValidations; |
|
| 314 | 314 | if ($arrayAdditionalValidations != []) { |
| 315 | 315 | $arrayValidations = array_merge($arrayValidations, $arrayAdditionalValidations); |
| 316 | 316 | } |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | 'Mandatory' => ['LoadingId'], |
| 333 | 333 | ], |
| 334 | 334 | }; |
| 335 | - $arrayAllowedCombined = $arrayAllowedParameters['Mandatory']; |
|
| 335 | + $arrayAllowedCombined = $arrayAllowedParameters['Mandatory']; |
|
| 336 | 336 | if (array_key_exists('Optional', $arrayAllowedParameters)) { |
| 337 | 337 | $arrayAllowedCombined = array_merge($arrayAllowedParameters['Mandatory'], $arrayAllowedParameters['Optional']); |
| 338 | 338 | } |
@@ -360,7 +360,7 @@ discard block |
||
| 360 | 360 | 'LoadingId' => '1-' . strval(9 * pow(10, 10)), |
| 361 | 361 | 'Page' => '0-' . strval(9 * pow(10, 6)), |
| 362 | 362 | }); |
| 363 | - $regs = null; |
|
| 363 | + $regs = null; |
|
| 364 | 364 | preg_match('/[0-9]{1,20}/', $strParameterValue, $regs, PREG_UNMATCHED_AS_NULL); |
| 365 | 365 | if (is_array($regs) && ($regs !== []) && ($regs[0] != $strParameterValue)) { |
| 366 | 366 | $strErrors[] = vsprintf('Parameter "%s" is expected to be of integer type' |
@@ -437,7 +437,7 @@ discard block |
||
| 437 | 437 | 'File base name end with', |
| 438 | 438 | 'File base name starts with', |
| 439 | 439 | ]; |
| 440 | - $strLabel = ''; |
|
| 440 | + $strLabel = ''; |
|
| 441 | 441 | foreach ($arrayKnownLabels as $strCurrentLabel) { |
| 442 | 442 | $arrayPieces = explode('|', $this->arraySolutionCustomSettings['ArrayStrategyForUpload'][$strCurrentLabel]); |
| 443 | 443 | switch ($arrayPieces[0]) { |