@@ -182,8 +182,8 @@ |
||
182 | 182 | string $encoding = UTF8::NAME, |
183 | 183 | int $access_level = Auth::PRIV_HIDE, |
184 | 184 | string $line_endings = 'CRLF', |
185 | - Collection|null $records = null, |
|
186 | - FilesystemOperator|null $zip_filesystem = null, |
|
185 | + Collection | null $records = null, |
|
186 | + FilesystemOperator | null $zip_filesystem = null, |
|
187 | 187 | string $media_path = null |
188 | 188 | ) { |
189 | 189 | $stream = fopen('php://memory', 'wb+'); |
@@ -196,7 +196,7 @@ |
||
196 | 196 | * |
197 | 197 | * @return string |
198 | 198 | */ |
199 | - public function getPreference(string $setting_name, string|null $default = null): string |
|
199 | + public function getPreference(string $setting_name, string | null $default = null): string |
|
200 | 200 | { |
201 | 201 | if ($this->preferences === []) { |
202 | 202 | $this->preferences = DB::table('gedcom_setting') |
@@ -78,8 +78,8 @@ |
||
78 | 78 | * @return string |
79 | 79 | */ |
80 | 80 | public function chartLargestFamilies( |
81 | - string|null $color_from = null, |
|
82 | - string|null $color_to = null, |
|
81 | + string | null $color_from = null, |
|
82 | + string | null $color_to = null, |
|
83 | 83 | int $total = 10 |
84 | 84 | ): string { |
85 | 85 | $color_from ??= 'ffffff'; |
@@ -53,7 +53,7 @@ |
||
53 | 53 | public function chartIndisWithSources( |
54 | 54 | int $tot_indi, |
55 | 55 | int $tot_indi_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'; |
@@ -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'; |