diff options
Diffstat (limited to 'app/Individual.php')
| -rw-r--r-- | app/Individual.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Individual.php b/app/Individual.php index 7032652f3c..2e252d73a5 100644 --- a/app/Individual.php +++ b/app/Individual.php @@ -82,7 +82,7 @@ class Individual extends GedcomRecord * * @return bool */ - public function canShowName(int $access_level = null): bool + public function canShowName(int|null $access_level = null): bool { $access_level ??= Auth::accessLevel($this->tree); @@ -703,7 +703,7 @@ class Individual extends GedcomRecord * * @return Collection<int,Family> */ - public function spouseFamilies(int $access_level = null): Collection + public function spouseFamilies(int|null $access_level = null): Collection { $access_level ??= Auth::accessLevel($this->tree); @@ -769,7 +769,7 @@ class Individual extends GedcomRecord * * @return Collection<int,Family> */ - public function childFamilies(int $access_level = null): Collection + public function childFamilies(int|null $access_level = null): Collection { $access_level ??= Auth::accessLevel($this->tree); |
