Skip to content

Commit

Permalink
Implicitly marking nullable parameters is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Nov 22, 2024
1 parent 853602e commit 95a8620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Services/GedcomExportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function downloadResponse(
string $line_endings,
string $filename,
string $format,
Collection $records = null
Collection|null $records = null
): ResponseInterface {
$access_level = self::ACCESS_LEVELS[$privacy];

Expand Down Expand Up @@ -178,7 +178,7 @@ public function export(
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+');

Expand Down

0 comments on commit 95a8620

Please sign in to comment.