summaryrefslogtreecommitdiff
path: root/app/Factories/SharedNoteFactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Factories/SharedNoteFactory.php')
-rw-r--r--app/Factories/SharedNoteFactory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Factories/SharedNoteFactory.php b/app/Factories/SharedNoteFactory.php
index ada5b8e294..657d7c49db 100644
--- a/app/Factories/SharedNoteFactory.php
+++ b/app/Factories/SharedNoteFactory.php
@@ -44,7 +44,7 @@ class SharedNoteFactory extends AbstractGedcomRecordFactory implements SharedNot
*
* @return SharedNote|null
*/
- public function make(string $xref, Tree $tree, string $gedcom = null): ?SharedNote
+ public function make(string $xref, Tree $tree, string|null $gedcom = null): ?SharedNote
{
return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) {
$gedcom ??= $this->gedcom($xref, $tree);