summaryrefslogtreecommitdiff
path: root/app/Tree.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Tree.php')
-rw-r--r--app/Tree.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Tree.php b/app/Tree.php
index fa85ed3856..4255c3a6d4 100644
--- a/app/Tree.php
+++ b/app/Tree.php
@@ -196,7 +196,7 @@ class Tree
*
* @return string
*/
- public function getPreference(string $setting_name, string $default = null): string
+ public function getPreference(string $setting_name, string|null $default = null): string
{
if ($this->preferences === []) {
$this->preferences = DB::table('gedcom_setting')