Final updates for account controller. Looks like this one is finished. [skip ci]

This commit is contained in:
James Cole
2014-08-02 07:49:48 +02:00
parent d756324432
commit 99500d6201
6 changed files with 76 additions and 62 deletions

View File

@@ -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);
}