diff options
| author | Greg Roach <fisharebest@gmail.com> | 2024-03-21 15:22:19 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2024-03-21 15:35:50 +0000 |
| commit | 2c6f1bd538f46b93645991518398bb087011cb42 (patch) | |
| tree | dff7b3139c34831d853c7486fb260b9deb4a15e0 /app/Factories/IndividualFactory.php | |
| parent | 19ceb1bc4b5b6e1e7a341159091659fb6881acdf (diff) | |
| download | webtrees-2c6f1bd538f46b93645991518398bb087011cb42.tar.gz webtrees-2c6f1bd538f46b93645991518398bb087011cb42.tar.bz2 webtrees-2c6f1bd538f46b93645991518398bb087011cb42.zip | |
Implicit/explicit nullable types for PHP 8.4
Diffstat (limited to 'app/Factories/IndividualFactory.php')
| -rw-r--r-- | app/Factories/IndividualFactory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Factories/IndividualFactory.php b/app/Factories/IndividualFactory.php index ee9aea9bac..39b21a6708 100644 --- a/app/Factories/IndividualFactory.php +++ b/app/Factories/IndividualFactory.php @@ -44,7 +44,7 @@ class IndividualFactory extends AbstractGedcomRecordFactory implements Individua * * @return Individual|null */ - public function make(string $xref, Tree $tree, string $gedcom = null): ?Individual + public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Individual { return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) { $gedcom ??= $this->gedcom($xref, $tree); |
