summaryrefslogtreecommitdiff
path: root/app/Contracts/SourceFactoryInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Contracts/SourceFactoryInterface.php')
-rw-r--r--app/Contracts/SourceFactoryInterface.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Contracts/SourceFactoryInterface.php b/app/Contracts/SourceFactoryInterface.php
index c85776a7e5..9bc7c0a247 100644
--- a/app/Contracts/SourceFactoryInterface.php
+++ b/app/Contracts/SourceFactoryInterface.php
@@ -37,7 +37,7 @@ interface SourceFactoryInterface extends GedcomRecordFactoryInterface
*
* @return Source|null
*/
- public function make(string $xref, Tree $tree, string $gedcom = null): ?Source;
+ public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Source;
/**
* Create a source from a row in the database.