mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Small adjustments to fix tests.
This commit is contained in:
@@ -61,13 +61,13 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
* Moved here from account CRUD.
|
||||
*
|
||||
* @param Account $account
|
||||
* @param Account $moveTo
|
||||
* @param Account|null $moveTo
|
||||
*
|
||||
* @return bool
|
||||
*
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function destroy(Account $account, Account $moveTo): bool
|
||||
public function destroy(Account $account, ?Account $moveTo): bool
|
||||
{
|
||||
/** @var AccountDestroyService $service */
|
||||
$service = app(AccountDestroyService::class);
|
||||
|
Reference in New Issue
Block a user