diff options
| author | Greg Roach <fisharebest@gmail.com> | 2024-03-21 15:22:19 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2024-03-21 15:35:50 +0000 |
| commit | 2c6f1bd538f46b93645991518398bb087011cb42 (patch) | |
| tree | dff7b3139c34831d853c7486fb260b9deb4a15e0 /app/Statistics/Google/ChartMarriage.php | |
| parent | 19ceb1bc4b5b6e1e7a341159091659fb6881acdf (diff) | |
| download | webtrees-2c6f1bd538f46b93645991518398bb087011cb42.tar.gz webtrees-2c6f1bd538f46b93645991518398bb087011cb42.tar.bz2 webtrees-2c6f1bd538f46b93645991518398bb087011cb42.zip | |
Implicit/explicit nullable types for PHP 8.4
Diffstat (limited to 'app/Statistics/Google/ChartMarriage.php')
| -rw-r--r-- | app/Statistics/Google/ChartMarriage.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |
