Changed a lot of parameters.

This commit is contained in:
James Cole
2016-02-05 09:25:15 +01:00
parent 554640c345
commit 78bcd3e1bb
64 changed files with 539 additions and 572 deletions

View File

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

View File

@@ -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.