@@ -252,7 +252,7 @@ |
||
| 252 | 252 | ]); |
| 253 | 253 | } |
| 254 | 254 | |
| 255 | - private function getRecordForType(string $type, string $xref, Tree $tree): GedcomRecord|null |
|
| 255 | + private function getRecordForType(string $type, string $xref, Tree $tree): GedcomRecord | null |
|
| 256 | 256 | { |
| 257 | 257 | switch ($type) { |
| 258 | 258 | case 'indi': |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | * |
| 43 | 43 | * @return Menu|null |
| 44 | 44 | */ |
| 45 | - public function menuThemes(): Menu|null; |
|
| 45 | + public function menuThemes(): Menu | null; |
|
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | 48 | * Generate a list of items for the main menu. |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * |
| 52 | 52 | * @return array<Menu> |
| 53 | 53 | */ |
| 54 | - public function genealogyMenu(Tree|null $tree): array; |
|
| 54 | + public function genealogyMenu(Tree | null $tree): array; |
|
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * Generate a list of items for the user menu. |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * |
| 61 | 61 | * @return array<Menu> |
| 62 | 62 | */ |
| 63 | - public function userMenu(Tree|null $tree): array; |
|
| 63 | + public function userMenu(Tree | null $tree): array; |
|
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | 66 | * A list of CSS files to include for this page. |
@@ -141,7 +141,7 @@ |
||
| 141 | 141 | * |
| 142 | 142 | * @return Menu|null |
| 143 | 143 | */ |
| 144 | - public function chartBoxMenu(Individual $individual): Menu|null |
|
| 144 | + public function chartBoxMenu(Individual $individual): Menu | null |
|
| 145 | 145 | { |
| 146 | 146 | return $this->chartMenu($individual); |
| 147 | 147 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | use ModuleTabTrait; |
| 34 | 34 | |
| 35 | 35 | /** @var Collection<array-key,Fact>|null */ |
| 36 | - private Collection|null $facts = null; |
|
| 36 | + private Collection | null $facts = null; |
|
| 37 | 37 | |
| 38 | 38 | private ClipboardService $clipboard_service; |
| 39 | 39 | |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * |
| 85 | 85 | * @return Menu|null |
| 86 | 86 | */ |
| 87 | - public function getMenu(Tree $tree): Menu|null |
|
| 87 | + public function getMenu(Tree $tree): Menu | null |
|
| 88 | 88 | { |
| 89 | 89 | $request = Registry::container()->get(ServerRequestInterface::class); |
| 90 | 90 | $xref = Validator::attributes($request)->isXref()->string('xref', ''); |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | * |
| 51 | 51 | * @return array<Menu> |
| 52 | 52 | */ |
| 53 | - public function genealogyMenu(Tree|null $tree): array |
|
| 53 | + public function genealogyMenu(Tree | null $tree): array |
|
| 54 | 54 | { |
| 55 | 55 | $primary_menu = $this->baseGenealogyMenu($tree); |
| 56 | 56 | |
@@ -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 | } |