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