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