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

@@ -34,7 +34,7 @@ use Illuminate\Support\Collection;
class OperationsController extends Controller
{
/** @var AccountTaskerInterface */
/** @var AccountTaskerInterface Some specific account things. */
private $tasker;
/**
@@ -56,12 +56,14 @@ class OperationsController extends Controller
/**
* View of income and expense.
*
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
*
* @return mixed|string
* @throws \Throwable
*/
public function expenses(Collection $accounts, Carbon $start, Carbon $end)
{
@@ -83,12 +85,14 @@ class OperationsController extends Controller
}
/**
* View of income.
*
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
*
* @return string
* @throws \Throwable
*/
public function income(Collection $accounts, Carbon $start, Carbon $end): string
{
@@ -111,12 +115,14 @@ class OperationsController extends Controller
}
/**
* Overview of income and expense.
*
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
*
* @return mixed|string
* @throws \Throwable
*/
public function operations(Collection $accounts, Carbon $start, Carbon $end)
{