diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2024-11-22 22:40:20 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2024-11-22 22:40:20 +0000 |
| commit | 95a8620a270e22e753770d980faee3cdf53d5566 (patch) | |
| tree | bf719bfd6a9a03e55c3f389ee33a69868c418445 | |
| parent | 853602ea8d01ea2b0357f5b5ebfa1fb1a3e6c21d (diff) | |
| download | webtrees-95a8620a270e22e753770d980faee3cdf53d5566.tar.gz webtrees-95a8620a270e22e753770d980faee3cdf53d5566.tar.bz2 webtrees-95a8620a270e22e753770d980faee3cdf53d5566.zip | |
Implicitly marking nullable parameters is deprecated
| -rw-r--r-- | app/Services/GedcomExportService.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Services/GedcomExportService.php b/app/Services/GedcomExportService.php index 4875fad814..e20773a59a 100644 --- a/app/Services/GedcomExportService.php +++ b/app/Services/GedcomExportService.php @@ -107,7 +107,7 @@ class GedcomExportService string $line_endings, string $filename, string $format, - Collection $records = null + Collection|null $records = null ): ResponseInterface { $access_level = self::ACCESS_LEVELS[$privacy]; @@ -178,7 +178,7 @@ class GedcomExportService string $line_endings = 'CRLF', Collection|null $records = null, FilesystemOperator|null $zip_filesystem = null, - string $media_path = null + string|null $media_path = null ) { $stream = fopen('php://memory', 'wb+'); |
