mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-01 02:21:45 +00:00
🤖 Auto commit for release 'develop' on 2025-11-12
This commit is contained in:
@@ -47,7 +47,7 @@ trait AccountFilter
|
||||
AccountTypeEnum::DEBT->value,
|
||||
AccountTypeEnum::MORTGAGE->value,
|
||||
],
|
||||
'normal' => [
|
||||
'normal' => [
|
||||
AccountTypeEnum::ASSET->value,
|
||||
AccountTypeEnum::EXPENSE->value,
|
||||
AccountTypeEnum::REVENUE->value,
|
||||
@@ -104,9 +104,10 @@ trait AccountFilter
|
||||
$return = array_merge($return, $this->types[$part]);
|
||||
}
|
||||
}
|
||||
if(0 === count($return)) {
|
||||
if (0 === count($return)) {
|
||||
$return = $this->types['normal'];
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ trait TransactionFilter
|
||||
$return = array_merge($return, $this->transactionTypes[$part]);
|
||||
}
|
||||
}
|
||||
if(0 === count($return)) {
|
||||
if (0 === count($return)) {
|
||||
$return = $this->transactionTypes['all'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user