mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
Code cleanup.
This commit is contained in:
@@ -32,12 +32,10 @@ use FireflyIII\Services\Internal\Support\CreditRecalculateService;
|
||||
*/
|
||||
class UpdatedAccountEventHandler
|
||||
{
|
||||
/**
|
||||
* @param UpdatedAccount $event
|
||||
*/
|
||||
public function recalculateCredit(UpdatedAccount $event): void
|
||||
{
|
||||
$account = $event->account;
|
||||
|
||||
/** @var CreditRecalculateService $object */
|
||||
$object = app(CreditRecalculateService::class);
|
||||
$object->setAccount($account);
|
||||
|
||||
Reference in New Issue
Block a user