mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Update some code, add security txt file.
This commit is contained in:
@@ -57,11 +57,8 @@ class PopupReport implements PopupReportInterface
|
||||
return $journals->filter(
|
||||
function (Transaction $transaction) {
|
||||
$tags = $transaction->transactionJournal->tags()->where('tagMode', 'balancingAct')->count();
|
||||
if (0 === $tags) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return 0 === $tags;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
@@ -119,6 +119,7 @@ class ReportHelper implements ReportHelperInterface
|
||||
* @param Carbon $date
|
||||
*
|
||||
* @return array
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
public function listOfMonths(Carbon $date): array
|
||||
{
|
||||
|
Reference in New Issue
Block a user