mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 06:31:22 +00:00
Fix various phpstan errors.
This commit is contained in:
@@ -35,7 +35,6 @@ use Illuminate\Support\Collection;
|
||||
|
||||
/**
|
||||
* Class UpgradeCurrencyPreferences
|
||||
* TODO DONT FORGET TO ADD THIS TO THE DOCKER BUILD
|
||||
*/
|
||||
class UpgradeCurrencyPreferences extends Command
|
||||
{
|
||||
@@ -71,7 +70,7 @@ class UpgradeCurrencyPreferences extends Command
|
||||
|
||||
$this->friendlyPositive('Currency preferences migrated.');
|
||||
|
||||
//$this->markAsExecuted();
|
||||
$this->markAsExecuted();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -246,14 +246,14 @@ class UpgradeLiabilitiesEight extends Command
|
||||
}
|
||||
|
||||
// overruled. No transaction will be deleted, ever.
|
||||
// code is kept in place so i can revisit my reasoning.
|
||||
// code is kept in place so I can revisit my reasoning.
|
||||
$delete = false;
|
||||
|
||||
if ($delete) {
|
||||
$service = app(TransactionGroupDestroyService::class);
|
||||
$service->destroy($journal->transactionGroup);
|
||||
$count++;
|
||||
}
|
||||
// if ($delete) {
|
||||
$service = app(TransactionGroupDestroyService::class);
|
||||
$service->destroy($journal->transactionGroup);
|
||||
$count++;
|
||||
// }
|
||||
}
|
||||
|
||||
return $count;
|
||||
|
||||
Reference in New Issue
Block a user