@@ -86,7 +86,7 @@ |
||
| 86 | 86 | * |
| 87 | 87 | * @return string |
| 88 | 88 | */ |
| 89 | - public function chartDeath(string|null $color_from = null, string|null $color_to = null): string |
|
| 89 | + public function chartDeath(string | null $color_from = null, string | null $color_to = null): string |
|
| 90 | 90 | { |
| 91 | 91 | $color_from ??= 'ffffff'; |
| 92 | 92 | $color_to ??= '84beff'; |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | * |
| 87 | 87 | * @return string |
| 88 | 88 | */ |
| 89 | - public function chartMarriage(string|null $color_from = null, string|null $color_to = null): string |
|
| 89 | + public function chartMarriage(string | null $color_from = null, string | null $color_to = null): string |
|
| 90 | 90 | { |
| 91 | 91 | $color_from ??= 'ffffff'; |
| 92 | 92 | $color_to ??= '84beff'; |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | public function chartCommonGiven( |
| 54 | 54 | int $tot_indi, |
| 55 | 55 | array $given, |
| 56 | - string|null $color_from = null, |
|
| 56 | + string | null $color_from = null, |
|
| 57 | 57 | string $color_to = null |
| 58 | 58 | ): string { |
| 59 | 59 | $color_from ??= 'ffffff'; |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | * |
| 87 | 87 | * @return string |
| 88 | 88 | */ |
| 89 | - public function chartDivorce(string|null $color_from = null, string|null $color_to = null): string |
|
| 89 | + public function chartDivorce(string | null $color_from = null, string | null $color_to = null): string |
|
| 90 | 90 | { |
| 91 | 91 | $color_from ??= 'ffffff'; |
| 92 | 92 | $color_to ??= '84beff'; |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | public function chartFamsWithSources( |
| 54 | 54 | int $tot_fam, |
| 55 | 55 | int $tot_fam_source, |
| 56 | - string|null $color_from = null, |
|
| 56 | + string | null $color_from = null, |
|
| 57 | 57 | string $color_to = null |
| 58 | 58 | ): string { |
| 59 | 59 | $color_from ??= 'ffffff'; |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | public function chartMortality( |
| 54 | 54 | int $tot_l, |
| 55 | 55 | int $tot_d, |
| 56 | - string|null $color_living = null, |
|
| 56 | + string | null $color_living = null, |
|
| 57 | 57 | string $color_dead = null |
| 58 | 58 | ): string { |
| 59 | 59 | $color_living ??= '#ffffff'; |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | public function chartCommonSurnames( |
| 112 | 112 | int $tot_indi, |
| 113 | 113 | array $all_surnames, |
| 114 | - string|null $color_from = null, |
|
| 114 | + string | null $color_from = null, |
|
| 115 | 115 | string $color_to = null |
| 116 | 116 | ): string { |
| 117 | 117 | $color_from ??= 'ffffff'; |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | * |
| 87 | 87 | * @return string |
| 88 | 88 | */ |
| 89 | - public function chartBirth(string|null $color_from = null, string|null $color_to = null): string |
|
| 89 | + public function chartBirth(string | null $color_from = null, string | null $color_to = null): string |
|
| 90 | 90 | { |
| 91 | 91 | $color_from ??= 'ffffff'; |
| 92 | 92 | $color_to ??= '84beff'; |
@@ -42,8 +42,8 @@ |
||
| 42 | 42 | int $tot_m, |
| 43 | 43 | int $tot_f, |
| 44 | 44 | int $tot_u, |
| 45 | - string|null $color_female = null, |
|
| 46 | - string|null $color_male = null, |
|
| 45 | + string | null $color_female = null, |
|
| 46 | + string | null $color_male = null, |
|
| 47 | 47 | string $color_unknown = null |
| 48 | 48 | ): string { |
| 49 | 49 | $color_female ??= '#ffd1dc'; |