Auto commit for release 'v6.2.5' on 2025-02-09

This commit is contained in:
github-actions
2025-02-09 06:08:12 +01:00
parent 503d2aa786
commit 19c746a865
10 changed files with 115 additions and 95 deletions

View File

@@ -88,8 +88,9 @@ class ExchangeRateConverter
return '1';
}
if($from->id === $to->id) {
if ($from->id === $to->id) {
Log::debug('ExchangeRateConverter: From and to are the same, return "1".');
return '1';
}
$rate = $this->getRate($from, $to, $date);
@@ -159,6 +160,7 @@ class ExchangeRateConverter
{
if ($from === $to) {
Log::debug('ExchangeRateConverter: From and to are the same, return "1".');
return '1';
}
$key = sprintf('cer-%d-%d-%s', $from, $to, $date);