mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 08:30:06 +00:00
Use PSR-12 code style
This commit is contained in:
@@ -59,7 +59,7 @@ trait AugumentData
|
||||
$combined = [];
|
||||
/** @var Account $expenseAccount */
|
||||
foreach ($accounts as $expenseAccount) {
|
||||
$collection = new Collection;
|
||||
$collection = new Collection();
|
||||
$collection->push($expenseAccount);
|
||||
|
||||
$revenue = $repository->findByName($expenseAccount->name, [AccountType::REVENUE]);
|
||||
@@ -200,7 +200,7 @@ trait AugumentData
|
||||
/** @var BudgetLimitRepositoryInterface $blRepository */
|
||||
$blRepository = app(BudgetLimitRepositoryInterface::class);
|
||||
// properties for cache
|
||||
$cache = new CacheProperties;
|
||||
$cache = new CacheProperties();
|
||||
$cache->addProperty($start);
|
||||
$cache->addProperty($end);
|
||||
$cache->addProperty($budget->id);
|
||||
@@ -240,7 +240,6 @@ trait AugumentData
|
||||
*/
|
||||
protected function groupByName(array $array): array // filter + group data
|
||||
{
|
||||
|
||||
// group by opposing account name.
|
||||
$grouped = [];
|
||||
/** @var array $journal */
|
||||
|
||||
Reference in New Issue
Block a user