mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 09:52:20 +00:00
Clean up code and comments.
This commit is contained in:
@@ -53,11 +53,11 @@ class CurrencyUpdateService
|
||||
}
|
||||
|
||||
if (array_key_exists('enabled', $data) && is_bool($data['enabled'])) {
|
||||
$currency->enabled = (bool) $data['enabled'];
|
||||
$currency->enabled = (bool)$data['enabled'];
|
||||
}
|
||||
|
||||
if (array_key_exists('decimal_places', $data) && is_int($data['decimal_places'])) {
|
||||
$currency->decimal_places = (int) $data['decimal_places'];
|
||||
$currency->decimal_places = (int)$data['decimal_places'];
|
||||
}
|
||||
|
||||
$currency->save();
|
||||
|
||||
Reference in New Issue
Block a user