summaryrefslogtreecommitdiff
path: root/app/Statistics/Google
diff options
context:
space:
mode:
Diffstat (limited to 'app/Statistics/Google')
-rw-r--r--app/Statistics/Google/ChartCommonGiven.php2
-rw-r--r--app/Statistics/Google/ChartCommonSurname.php2
-rw-r--r--app/Statistics/Google/ChartFamilyWithSources.php2
-rw-r--r--app/Statistics/Google/ChartIndividualWithSources.php2
-rw-r--r--app/Statistics/Google/ChartMedia.php2
-rw-r--r--app/Statistics/Google/ChartMortality.php2
-rw-r--r--app/Statistics/Google/ChartSex.php2
7 files changed, 7 insertions, 7 deletions
diff --git a/app/Statistics/Google/ChartCommonGiven.php b/app/Statistics/Google/ChartCommonGiven.php
index 3e032b6617..728867ffa7 100644
--- a/app/Statistics/Google/ChartCommonGiven.php
+++ b/app/Statistics/Google/ChartCommonGiven.php
@@ -54,7 +54,7 @@ class ChartCommonGiven
int $tot_indi,
array $given,
string|null $color_from = null,
- string $color_to = null
+ string|null $color_to = null
): string {
$color_from ??= 'ffffff';
$color_to ??= '84beff';
diff --git a/app/Statistics/Google/ChartCommonSurname.php b/app/Statistics/Google/ChartCommonSurname.php
index 69566aa620..9797a34249 100644
--- a/app/Statistics/Google/ChartCommonSurname.php
+++ b/app/Statistics/Google/ChartCommonSurname.php
@@ -112,7 +112,7 @@ class ChartCommonSurname
int $tot_indi,
array $all_surnames,
string|null $color_from = null,
- string $color_to = null
+ string|null $color_to = null
): string {
$color_from ??= 'ffffff';
$color_to ??= '84beff';
diff --git a/app/Statistics/Google/ChartFamilyWithSources.php b/app/Statistics/Google/ChartFamilyWithSources.php
index 09683e5cd4..306de9b0e7 100644
--- a/app/Statistics/Google/ChartFamilyWithSources.php
+++ b/app/Statistics/Google/ChartFamilyWithSources.php
@@ -54,7 +54,7 @@ class ChartFamilyWithSources
int $tot_fam,
int $tot_fam_source,
string|null $color_from = null,
- string $color_to = null
+ string|null $color_to = null
): string {
$color_from ??= 'ffffff';
$color_to ??= '84beff';
diff --git a/app/Statistics/Google/ChartIndividualWithSources.php b/app/Statistics/Google/ChartIndividualWithSources.php
index a3f0da9d79..2b1f459d46 100644
--- a/app/Statistics/Google/ChartIndividualWithSources.php
+++ b/app/Statistics/Google/ChartIndividualWithSources.php
@@ -54,7 +54,7 @@ class ChartIndividualWithSources
int $tot_indi,
int $tot_indi_source,
string|null $color_from = null,
- string $color_to = null
+ string|null $color_to = null
): string {
$color_from ??= 'ffffff';
$color_to ??= '84beff';
diff --git a/app/Statistics/Google/ChartMedia.php b/app/Statistics/Google/ChartMedia.php
index 0f1570cdd5..087c979770 100644
--- a/app/Statistics/Google/ChartMedia.php
+++ b/app/Statistics/Google/ChartMedia.php
@@ -53,7 +53,7 @@ class ChartMedia
public function chartMedia(
array $media,
string|null $color_from = null,
- string $color_to = null
+ string|null $color_to = null
): string {
$color_from ??= 'ffffff';
$color_to ??= '84beff';
diff --git a/app/Statistics/Google/ChartMortality.php b/app/Statistics/Google/ChartMortality.php
index 5763a3d272..2ce4acecb4 100644
--- a/app/Statistics/Google/ChartMortality.php
+++ b/app/Statistics/Google/ChartMortality.php
@@ -54,7 +54,7 @@ class ChartMortality
int $tot_l,
int $tot_d,
string|null $color_living = null,
- string $color_dead = null
+ string|null $color_dead = null
): string {
$color_living ??= '#ffffff';
$color_dead ??= '#cccccc';
diff --git a/app/Statistics/Google/ChartSex.php b/app/Statistics/Google/ChartSex.php
index a92ee9c66e..3599b3e467 100644
--- a/app/Statistics/Google/ChartSex.php
+++ b/app/Statistics/Google/ChartSex.php
@@ -44,7 +44,7 @@ class ChartSex
int $tot_u,
string|null $color_female = null,
string|null $color_male = null,
- string $color_unknown = null
+ string|null $color_unknown = null
): string {
$color_female ??= '#ffd1dc';
$color_male ??= '#84beff';