Add php doc [skip ci]

This commit is contained in:
James Cole
2018-07-21 08:55:32 +02:00
parent 02f5eddd14
commit 4a90ce35f2
11 changed files with 77 additions and 18 deletions

View File

@@ -36,12 +36,16 @@ class BudgetController extends Controller
{
/**
* Show partial overview of budgets.
*
* TODO replace all \Throwable by catch/error and return simple string.
*
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
*
* @return mixed|string
* @throws \Throwable
*/
public function general(Collection $accounts, Carbon $start, Carbon $end)
{
@@ -65,12 +69,14 @@ class BudgetController extends Controller
/**
* Show budget overview for a period.
*
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
*
* @return mixed|string
* @throws \Throwable
*/
public function period(Collection $accounts, Carbon $start, Carbon $end)
{