From 55538b668fe4d8c3573ce7579be50de4b42f2514 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 23 May 2021 20:59:18 +0200 Subject: [PATCH] Add PHP8.0 specific code. --- app/Http/Controllers/HomeController.php | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 7f436b37e8..b2f066d738 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -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); diff --git a/composer.json b/composer.json index 85b19bc44d..0955b5736b 100644 --- a/composer.json +++ b/composer.json @@ -69,7 +69,7 @@ } ], "require": { - "php": ">=7.4.0", + "php": ">=8.0.0", "ext-bcmath": "*", "ext-curl": "*", "ext-fileinfo": "*",