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