summaryrefslogtreecommitdiff
path: root/app/Module/BranchesListModule.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Module/BranchesListModule.php')
-rw-r--r--app/Module/BranchesListModule.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module/BranchesListModule.php b/app/Module/BranchesListModule.php
index 8d10edc8ca..f591d5d3bc 100644
--- a/app/Module/BranchesListModule.php
+++ b/app/Module/BranchesListModule.php
@@ -378,7 +378,7 @@ class BranchesListModule extends AbstractModule implements ModuleListInterface,
*
* @return string
*/
- private function getDescendantsHtml(Tree $tree, array $individuals, array $ancestors, string $surname, bool $soundex_dm, bool $soundex_std, Individual $individual, Family $parents = null): string
+ private function getDescendantsHtml(Tree $tree, array $individuals, array $ancestors, string $surname, bool $soundex_dm, bool $soundex_std, Individual $individual, Family|null $parents = null): string
{
$module = $this->module_service->findByComponent(ModuleChartInterface::class, $tree, Auth::user())->first(static function (ModuleInterface $module) {
return $module instanceof RelationshipsChartModule;