@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * |
77 | 77 | * @return Menu|null |
78 | 78 | */ |
79 | - public function getMenu(Tree $tree): Menu|null |
|
79 | + public function getMenu(Tree $tree): Menu | null |
|
80 | 80 | { |
81 | 81 | $submenu = [ |
82 | 82 | $this->menuSearchGeneral($tree), |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * |
131 | 131 | * @return Menu|null |
132 | 132 | */ |
133 | - protected function menuSearchAndReplace(Tree $tree): Menu|null |
|
133 | + protected function menuSearchAndReplace(Tree $tree): Menu | null |
|
134 | 134 | { |
135 | 135 | if (Auth::isEditor($tree)) { |
136 | 136 | $url = route(SearchReplacePage::class, ['tree' => $tree->name()]); |
@@ -100,7 +100,7 @@ |
||
100 | 100 | * |
101 | 101 | * @return Collection<int,string>|null |
102 | 102 | */ |
103 | - protected function individualsToFix(Tree $tree, array $params): Collection|null |
|
103 | + protected function individualsToFix(Tree $tree, array $params): Collection | null |
|
104 | 104 | { |
105 | 105 | return $this->individualsToFixQuery($tree, $params) |
106 | 106 | ->where(static function (Builder $query): void { |
@@ -104,7 +104,7 @@ |
||
104 | 104 | /** |
105 | 105 | * Return a menu item for this chart - for use in individual boxes. |
106 | 106 | */ |
107 | - public function chartBoxMenu(Individual $individual): Menu|null |
|
107 | + public function chartBoxMenu(Individual $individual): Menu | null |
|
108 | 108 | { |
109 | 109 | return $this->chartMenu($individual); |
110 | 110 | } |
@@ -378,7 +378,7 @@ |
||
378 | 378 | * |
379 | 379 | * @return string |
380 | 380 | */ |
381 | - private function getDescendantsHtml(Tree $tree, array $individuals, array $ancestors, string $surname, bool $soundex_dm, bool $soundex_std, Individual $individual, Family|null $parents = null): string |
|
381 | + private function getDescendantsHtml(Tree $tree, array $individuals, array $ancestors, string $surname, bool $soundex_dm, bool $soundex_std, Individual $individual, Family | null $parents = null): string |
|
382 | 382 | { |
383 | 383 | $module = $this->module_service |
384 | 384 | ->findByComponent(ModuleChartInterface::class, $tree, Auth::user()) |
@@ -57,5 +57,5 @@ |
||
57 | 57 | * |
58 | 58 | * @return Menu|null |
59 | 59 | */ |
60 | - public function getMenu(Tree $tree): Menu|null; |
|
60 | + public function getMenu(Tree $tree): Menu | null; |
|
61 | 61 | } |
@@ -92,7 +92,7 @@ |
||
92 | 92 | * |
93 | 93 | * @return Collection<int,string>|null |
94 | 94 | */ |
95 | - protected function individualsToFix(Tree $tree, array $params): Collection|null |
|
95 | + protected function individualsToFix(Tree $tree, array $params): Collection | null |
|
96 | 96 | { |
97 | 97 | // No DB querying possible? Select all. |
98 | 98 | return $this->individualsToFixQuery($tree, $params) |
@@ -184,7 +184,7 @@ |
||
184 | 184 | * |
185 | 185 | * @return Menu|null |
186 | 186 | */ |
187 | - public function getMenu(Tree $tree): Menu|null |
|
187 | + public function getMenu(Tree $tree): Menu | null |
|
188 | 188 | { |
189 | 189 | return new Menu($this->title(), route('module', [ |
190 | 190 | 'module' => $this->name(), |
@@ -48,7 +48,7 @@ |
||
48 | 48 | * |
49 | 49 | * @return Menu|null |
50 | 50 | */ |
51 | - public function listMenu(Tree $tree): Menu|null |
|
51 | + public function listMenu(Tree $tree): Menu | null |
|
52 | 52 | { |
53 | 53 | if ($this->listIsEmpty($tree)) { |
54 | 54 | return null; |
@@ -66,7 +66,7 @@ |
||
66 | 66 | /** |
67 | 67 | * A menu, to be added to the main application menu. |
68 | 68 | */ |
69 | - public function getMenu(Tree $tree): Menu|null |
|
69 | + public function getMenu(Tree $tree): Menu | null |
|
70 | 70 | { |
71 | 71 | $submenu = [ |
72 | 72 | $this->calendarDayMenu($tree), |