summaryrefslogtreecommitdiff
path: root/app/Statistics/Google/ChartMedia.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2024-03-21 15:22:19 +0000
committerGreg Roach <fisharebest@gmail.com>2024-03-21 15:35:50 +0000
commit2c6f1bd538f46b93645991518398bb087011cb42 (patch)
treedff7b3139c34831d853c7486fb260b9deb4a15e0 /app/Statistics/Google/ChartMedia.php
parent19ceb1bc4b5b6e1e7a341159091659fb6881acdf (diff)
downloadwebtrees-2c6f1bd538f46b93645991518398bb087011cb42.tar.gz
webtrees-2c6f1bd538f46b93645991518398bb087011cb42.tar.bz2
webtrees-2c6f1bd538f46b93645991518398bb087011cb42.zip
Implicit/explicit nullable types for PHP 8.4
Diffstat (limited to 'app/Statistics/Google/ChartMedia.php')
-rw-r--r--app/Statistics/Google/ChartMedia.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Statistics/Google/ChartMedia.php b/app/Statistics/Google/ChartMedia.php
index dd6bfa8b27..0f1570cdd5 100644
--- a/app/Statistics/Google/ChartMedia.php
+++ b/app/Statistics/Google/ChartMedia.php
@@ -52,7 +52,7 @@ class ChartMedia
*/
public function chartMedia(
array $media,
- string $color_from = null,
+ string|null $color_from = null,
string $color_to = null
): string {
$color_from ??= 'ffffff';