mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 06:01:21 +00:00
Code cleanup
This commit is contained in:
@@ -111,7 +111,7 @@ class JournalRepository implements JournalRepositoryInterface
|
||||
|
||||
// saves on queries:
|
||||
$amount = $journal->transactions()->where('amount', '>', 0)->get()->sum('amount');
|
||||
$amount = (string)$amount;
|
||||
$amount = (string) $amount;
|
||||
$cache->store($amount);
|
||||
|
||||
return $amount;
|
||||
@@ -134,7 +134,7 @@ class JournalRepository implements JournalRepositoryInterface
|
||||
/** @var null|Note $note */
|
||||
$note = $link->notes()->first();
|
||||
|
||||
return (string)$note?->text;
|
||||
return (string) $note?->text;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user