From 2c6f1bd538f46b93645991518398bb087011cb42 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Thu, 21 Mar 2024 15:22:19 +0000 Subject: Implicit/explicit nullable types for PHP 8.4 --- app/Statistics/Google/ChartMarriage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Statistics/Google/ChartMarriage.php') diff --git a/app/Statistics/Google/ChartMarriage.php b/app/Statistics/Google/ChartMarriage.php index a811191e3b..fc6884a44e 100644 --- a/app/Statistics/Google/ChartMarriage.php +++ b/app/Statistics/Google/ChartMarriage.php @@ -86,7 +86,7 @@ class ChartMarriage * * @return string */ - public function chartMarriage(string $color_from = null, string $color_to = null): string + public function chartMarriage(string|null $color_from = null, string|null $color_to = null): string { $color_from ??= 'ffffff'; $color_to ??= '84beff'; -- cgit v1.3