Clean up account transformer.

This commit is contained in:
James Cole
2025-08-02 07:16:30 +02:00
parent 04cbff4b9a
commit 3745d79f1f
6 changed files with 104 additions and 118 deletions

View File

@@ -142,7 +142,7 @@ class Amount
$cache->addProperty('getPrimaryCurrencyByGroup');
$cache->addProperty($userGroup->id);
if ($cache->has()) {
return $cache->get();
return $cache->get();
}
/** @var null|TransactionCurrency $primary */