diff options
Diffstat (limited to 'app/Factories/MediaFactory.php')
| -rw-r--r-- | app/Factories/MediaFactory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Factories/MediaFactory.php b/app/Factories/MediaFactory.php index 177a8aacaa..2d985c32d6 100644 --- a/app/Factories/MediaFactory.php +++ b/app/Factories/MediaFactory.php @@ -44,7 +44,7 @@ class MediaFactory extends AbstractGedcomRecordFactory implements MediaFactoryIn * * @return Media|null */ - public function make(string $xref, Tree $tree, string $gedcom = null): ?Media + public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Media { return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) { $gedcom ??= $this->gedcom($xref, $tree); |
