Add PHP8.0 specific code.

This commit is contained in:
James Cole
2021-05-23 20:59:18 +02:00
parent 8a8aa7ca71
commit 55538b668f
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ class HomeController extends Controller
* @return Factory|RedirectResponse|Redirector|View
* @throws Exception
*/
public function index(AccountRepositoryInterface $repository)
public function index(AccountRepositoryInterface $repository): mixed
{
$types = config('firefly.accountTypesByIdentifier.asset');
$count = $repository->count($types);