Add some phpdoc [skip ci]

This commit is contained in:
James Cole
2017-01-05 08:56:14 +01:00
parent a609a47138
commit 6fe28b15df
2 changed files with 2 additions and 0 deletions

View File

@@ -397,6 +397,7 @@ class BudgetController extends Controller
private function collectBudgetInformation(Collection $budgets, Carbon $start, Carbon $end): array
{
// get account information
/** @var AccountRepositoryInterface $accountRepository */
$accountRepository = app(AccountRepositoryInterface::class);
$accounts = $accountRepository->getAccountsByType([AccountType::DEFAULT, AccountType::ASSET, AccountType::CASH]);
$return = [];

View File

@@ -321,6 +321,7 @@ class CategoryController extends Controller
{
/** @var CategoryRepositoryInterface $repository */
$repository = app(CategoryRepositoryInterface::class);
/** @var AccountRepositoryInterface $accountRepository */
$accountRepository = app(AccountRepositoryInterface::class);
$accounts = $accountRepository->getAccountsByType([AccountType::DEFAULT, AccountType::ASSET]);
$first = $repository->firstUseDate($category);