Update PHP doc everywhere.

This commit is contained in:
James Cole
2018-07-21 08:06:24 +02:00
parent 5ca4f1b181
commit 02f5eddd14
47 changed files with 363 additions and 111 deletions

View File

@@ -45,7 +45,7 @@ class ExpenseReportController extends Controller
{
/** @var AccountRepositoryInterface The account repository */
protected $accountRepository;
/** @var GeneratorInterface */
/** @var GeneratorInterface Chart generation methods. */
protected $generator;
/**
@@ -66,6 +66,8 @@ class ExpenseReportController extends Controller
/** @noinspection MoreThanThreeArgumentsInspection */
/**
* Main chart that shows income and expense for a combination of expense/revenue accounts.
*
* @param Collection $accounts
* @param Collection $expense
* @param Carbon $start
@@ -191,6 +193,8 @@ class ExpenseReportController extends Controller
}
/**
* Searches for the opposing account.
*
* @param Collection $accounts
*
* @return array
@@ -214,6 +218,8 @@ class ExpenseReportController extends Controller
}
/**
* Get all expenses for a set of accounts.
*
* @param Collection $accounts
* @param Collection $opposing
* @param Carbon $start
@@ -231,6 +237,8 @@ class ExpenseReportController extends Controller
}
/**
* Get the income for a set of accounts.
*
* @param Collection $accounts
* @param Collection $opposing
* @param Carbon $start
@@ -249,6 +257,8 @@ class ExpenseReportController extends Controller
}
/**
* Group set of transactions by name of opposing account.
*
* @param Collection $set
*
* @return array