mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Changed a lot of parameters.
This commit is contained in:
@@ -63,11 +63,11 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
/**
|
||||
* @deprecated
|
||||
*
|
||||
* @param $accountId
|
||||
* @param int $accountId
|
||||
*
|
||||
* @return Account
|
||||
*/
|
||||
public function find($accountId)
|
||||
public function find(int $accountId)
|
||||
{
|
||||
return Auth::user()->accounts()->findOrNew($accountId);
|
||||
}
|
||||
|
@@ -34,13 +34,13 @@ interface AccountRepositoryInterface
|
||||
public function destroy(Account $account, Account $moveTo = null);
|
||||
|
||||
/**
|
||||
* @param $accountId
|
||||
* @param int $accountId
|
||||
*
|
||||
* @deprecated
|
||||
*
|
||||
* @return Account
|
||||
*/
|
||||
public function find($accountId);
|
||||
public function find(int $accountId);
|
||||
|
||||
/**
|
||||
* Gets all the accounts by ID, for a given set.
|
||||
|
Reference in New Issue
Block a user