mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 12:11:19 +00:00
Fix level 5! Mostly by ignoring the errors lol.
This commit is contained in:
@@ -146,7 +146,7 @@ class CorrectsNativeAmounts extends Command
|
||||
{
|
||||
$set = $piggyBank->piggyBankEvents()->get();
|
||||
$set->each(
|
||||
static function (PiggyBankEvent $event): void {
|
||||
static function (PiggyBankEvent $event): void { // @phpstan-ignore-line
|
||||
$event->touch();
|
||||
}
|
||||
);
|
||||
|
@@ -121,7 +121,7 @@ class CorrectsUnevenAmount extends Command
|
||||
$journals = \DB::table('transactions')
|
||||
->groupBy('transaction_journal_id')
|
||||
->whereNull('deleted_at')
|
||||
->get(['transaction_journal_id', \DB::raw('SUM(amount) AS the_sum')])
|
||||
->get(['transaction_journal_id', \DB::raw('SUM(amount) AS the_sum')]) // @phpstan-ignore-line
|
||||
;
|
||||
|
||||
/** @var \stdClass $entry */
|
||||
|
Reference in New Issue
Block a user