mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-21 09:00:07 +00:00
Some cleanup.
This commit is contained in:
@@ -65,6 +65,11 @@ class EloquentAccountRepository implements AccountRepositoryInterface
|
||||
return $this->createOrFind($name, $type);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Account $account
|
||||
*
|
||||
* @return bool|mixed
|
||||
*/
|
||||
public function destroy(\Account $account)
|
||||
{
|
||||
$account->delete();
|
||||
@@ -89,7 +94,8 @@ class EloquentAccountRepository implements AccountRepositoryInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $name
|
||||
* @param $name
|
||||
* @param \AccountType $type
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
@@ -228,9 +234,10 @@ class EloquentAccountRepository implements AccountRepositoryInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $data
|
||||
* @param \Account $account
|
||||
* @param $data
|
||||
*
|
||||
* @return \Account|void
|
||||
* @return \Account|mixed
|
||||
*/
|
||||
public function update(\Account $account, $data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user