mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Improve code for recurring transactions.
This commit is contained in:
@@ -97,6 +97,8 @@ interface RecurringRepositoryInterface
|
||||
public function setUser(User $user): void;
|
||||
|
||||
/**
|
||||
* Store a new recurring transaction.
|
||||
*
|
||||
* @param array $data
|
||||
*
|
||||
* @throws FireflyException
|
||||
@@ -104,4 +106,14 @@ interface RecurringRepositoryInterface
|
||||
*/
|
||||
public function store(array $data): Recurrence;
|
||||
|
||||
/**
|
||||
* Update a recurring transaction.
|
||||
*
|
||||
* @param Recurrence $recurrence
|
||||
* @param array $data
|
||||
*
|
||||
* @return Recurrence
|
||||
*/
|
||||
public function update(Recurrence $recurrence, array $data): Recurrence;
|
||||
|
||||
}
|
Reference in New Issue
Block a user