Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:28 +01:00
parent 2eebcb21f1
commit f53923f16c
187 changed files with 429 additions and 482 deletions

View File

@@ -133,7 +133,7 @@ class JournalRepository implements JournalRepositoryInterface
*/
public function getJournalTotal(TransactionJournal $journal): string
{
$cache = new CacheProperties;
$cache = new CacheProperties();
$cache->addProperty($journal->id);
$cache->addProperty('amount-positive');
if ($cache->has()) {
@@ -189,7 +189,7 @@ class JournalRepository implements JournalRepositoryInterface
*/
public function getMetaDateById(int $journalId, string $field): ?Carbon
{
$cache = new CacheProperties;
$cache = new CacheProperties();
$cache->addProperty('journal-meta-updated');
$cache->addProperty($journalId);
$cache->addProperty($field);