Add PHP8.0 specific code.

This commit is contained in:
James Cole 2021-05-23 20:59:18 +02:00
parent 8a8aa7ca71
commit 55538b668f
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -69,7 +69,7 @@
} }
], ],
"require": { "require": {
"php": ">=7.4.0", "php": ">=8.0.0",
"ext-bcmath": "*", "ext-bcmath": "*",
"ext-curl": "*", "ext-curl": "*",
"ext-fileinfo": "*", "ext-fileinfo": "*",