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

@@ -38,11 +38,11 @@ use Illuminate\Support\Collection;
*/
class CategoryController extends Controller
{
/** @var GeneratorInterface */
/** @var GeneratorInterface Chart generation methods. */
protected $generator;
/**
*
* CategoryController constructor.
*/
public function __construct()
{
@@ -112,6 +112,8 @@ class CategoryController extends Controller
/**
* Shows the category chart on the front page.
*
* @param CategoryRepositoryInterface $repository
* @param AccountRepositoryInterface $accountRepository
*
@@ -154,6 +156,8 @@ class CategoryController extends Controller
/** @noinspection MoreThanThreeArgumentsInspection */
/**
* Chart report.
*
* @param Category $category
* @param Collection $accounts
* @param Carbon $start
@@ -215,6 +219,8 @@ class CategoryController extends Controller
/**
* Chart for period for transactions without a category.
*
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
@@ -272,6 +278,8 @@ class CategoryController extends Controller
}
/**
* Chart for a specific period.
*
* @param Category $category
* @param $date
*
@@ -289,6 +297,8 @@ class CategoryController extends Controller
/**
* Chart for a specific period (start and end).
*
* @param Category $category
* @param Carbon $start
* @param Carbon $end