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