Clean up comments

This commit is contained in:
James Cole
2023-02-22 18:03:31 +01:00
parent 68f398f97c
commit e6dc881f56
119 changed files with 317 additions and 234 deletions

View File

@@ -45,6 +45,7 @@ class AccountController extends Controller
* @param Carbon $end
*
* @return mixed|string
* @throws FireflyException
*/
public function general(Collection $accounts, Carbon $start, Carbon $end)
{

View File

@@ -67,6 +67,7 @@ class BalanceController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function general(Collection $accounts, Carbon $start, Carbon $end)
{

View File

@@ -43,6 +43,7 @@ class BillController extends Controller
* @param Carbon $end
*
* @return mixed|string
* @throws FireflyException
*/
public function overview(Collection $accounts, Carbon $start, Carbon $end)
{ // chart properties for cache:

View File

@@ -74,6 +74,8 @@ class BudgetController extends Controller
* @param Carbon $end
*
* @return Factory|View
* @throws FireflyException
* @throws JsonException
*/
public function accountPerBudget(Collection $accounts, Collection $budgets, Carbon $start, Carbon $end)
{
@@ -155,6 +157,7 @@ class BudgetController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function avgExpenses(Collection $accounts, Collection $budgets, Carbon $start, Carbon $end)
{
@@ -276,6 +279,8 @@ class BudgetController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
* @throws JsonException
*/
public function general(Collection $accounts, Carbon $start, Carbon $end)
{
@@ -301,7 +306,7 @@ class BudgetController extends Controller
* @param Carbon $end
*
* @return mixed|string
* @throws JsonException
* @throws FireflyException
*/
public function period(Collection $accounts, Carbon $start, Carbon $end)
{
@@ -365,6 +370,7 @@ class BudgetController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function topExpenses(Collection $accounts, Collection $budgets, Carbon $start, Carbon $end)
{

View File

@@ -278,6 +278,7 @@ class CategoryController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function avgExpenses(Collection $accounts, Collection $categories, Carbon $start, Carbon $end)
{
@@ -330,6 +331,7 @@ class CategoryController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function avgIncome(Collection $accounts, Collection $categories, Carbon $start, Carbon $end)
{
@@ -491,7 +493,7 @@ class CategoryController extends Controller
* @param Carbon $end
*
* @return mixed|string
* @throws JsonException
* @throws FireflyException
*/
public function expenses(Collection $accounts, Carbon $start, Carbon $end)
{
@@ -572,7 +574,7 @@ class CategoryController extends Controller
* @param Carbon $end
*
* @return string
* @throws JsonException
* @throws FireflyException
*/
public function income(Collection $accounts, Carbon $start, Carbon $end): string
{
@@ -650,6 +652,7 @@ class CategoryController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function operations(Collection $accounts, Carbon $start, Carbon $end): string
{
@@ -691,6 +694,7 @@ class CategoryController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function topExpenses(Collection $accounts, Collection $categories, Carbon $start, Carbon $end)
{
@@ -741,6 +745,7 @@ class CategoryController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function topIncome(Collection $accounts, Collection $categories, Carbon $start, Carbon $end)
{

View File

@@ -77,6 +77,7 @@ class DoubleController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function avgExpenses(Collection $accounts, Collection $doubles, Carbon $start, Carbon $end)
{
@@ -129,6 +130,7 @@ class DoubleController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function avgIncome(Collection $accounts, Collection $doubles, Carbon $start, Carbon $end)
{
@@ -425,6 +427,7 @@ class DoubleController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function topExpenses(Collection $accounts, Collection $doubles, Carbon $start, Carbon $end)
{
@@ -475,6 +478,7 @@ class DoubleController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function topIncome(Collection $accounts, Collection $doubles, Carbon $start, Carbon $end)
{

View File

@@ -67,6 +67,7 @@ class OperationsController extends Controller
* @param Carbon $end
*
* @return mixed|string
* @throws FireflyException
*/
public function expenses(Collection $accounts, Carbon $start, Carbon $end)
{
@@ -102,6 +103,7 @@ class OperationsController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function income(Collection $accounts, Carbon $start, Carbon $end): string
{
@@ -137,6 +139,7 @@ class OperationsController extends Controller
* @param Carbon $end
*
* @return mixed|string
* @throws FireflyException
*/
public function operations(Collection $accounts, Carbon $start, Carbon $end)
{

View File

@@ -270,6 +270,7 @@ class TagController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function avgExpenses(Collection $accounts, Collection $tags, Carbon $start, Carbon $end)
{
@@ -322,6 +323,7 @@ class TagController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function avgIncome(Collection $accounts, Collection $tags, Carbon $start, Carbon $end)
{
@@ -482,6 +484,7 @@ class TagController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function topExpenses(Collection $accounts, Collection $tags, Carbon $start, Carbon $end)
{
@@ -532,6 +535,7 @@ class TagController extends Controller
* @param Carbon $end
*
* @return string
* @throws FireflyException
*/
public function topIncome(Collection $accounts, Collection $tags, Carbon $start, Carbon $end)
{