Fix performance issues in budget controller.

This commit is contained in:
James Cole
2021-02-23 18:49:54 +01:00
parent fd0dc3d289
commit fc0202eb74
2 changed files with 7 additions and 8 deletions

View File

@@ -46,11 +46,8 @@ use Illuminate\View\View;
class ShowController extends Controller
{
use PeriodOverview, AugumentData;
/** @var JournalRepositoryInterface */
private $journalRepos;
/** @var BudgetRepositoryInterface */
private $repository;
private JournalRepositoryInterface $journalRepos;
private BudgetRepositoryInterface $repository;
/**
* ShowController constructor.