mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
Various code clean up. [skip ci]
This commit is contained in:
@@ -41,6 +41,7 @@ class CurrencyCode extends BasicConverter implements ConverterInterface
|
||||
if (!is_null($currency->id)) {
|
||||
Log::debug('Found currency by ID', ['id' => $currency->id]);
|
||||
$this->setCertainty(100);
|
||||
|
||||
return $currency;
|
||||
}
|
||||
}
|
||||
@@ -50,6 +51,7 @@ class CurrencyCode extends BasicConverter implements ConverterInterface
|
||||
if (!is_null($currency->id)) {
|
||||
Log::debug('Found currency by code', ['id' => $currency->id]);
|
||||
$this->setCertainty(100);
|
||||
|
||||
return $currency;
|
||||
}
|
||||
$currency = $repository->store(
|
||||
|
||||
Reference in New Issue
Block a user