mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Final updates for account controller. Looks like this one is finished. [skip ci]
This commit is contained in:
@@ -32,11 +32,11 @@ interface AccountRepositoryInterface
|
||||
public function createOrFindBeneficiary($name);
|
||||
|
||||
/**
|
||||
* @param $accountId
|
||||
* @param \Account $account
|
||||
*
|
||||
* @return bool
|
||||
* @return mixed
|
||||
*/
|
||||
public function destroy($accountId);
|
||||
public function destroy(\Account $account);
|
||||
|
||||
/**
|
||||
* @param $accountId
|
||||
@@ -97,10 +97,11 @@ interface AccountRepositoryInterface
|
||||
public function store($data);
|
||||
|
||||
/**
|
||||
* @param $data
|
||||
* @param \Account $account
|
||||
* @param $data
|
||||
*
|
||||
* @return \Account
|
||||
* @return mixed
|
||||
*/
|
||||
public function update($data);
|
||||
public function update(\Account $account, $data);
|
||||
|
||||
}
|
Reference in New Issue
Block a user