@@ -118,7 +118,6 @@ discard block |
||
118 | 118 | /** |
119 | 119 | * Format a name record |
120 | 120 | * |
121 | - * @param int $primary |
|
122 | 121 | * @param Fact $fact |
123 | 122 | * |
124 | 123 | * @return string |
@@ -216,7 +215,6 @@ discard block |
||
216 | 215 | /** |
217 | 216 | * print information for a sex record |
218 | 217 | * |
219 | - * @param Fact $event the Event object |
|
220 | 218 | * |
221 | 219 | * @return string |
222 | 220 | */ |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | public function getTabs() { |
97 | 97 | $active_tabs = Module::getActiveTabs($this->record->getTree()); |
98 | 98 | |
99 | - return array_filter($active_tabs, function(ModuleTabInterface $tab) { return $tab->hasTabContent(); }); |
|
99 | + return array_filter($active_tabs, function (ModuleTabInterface $tab) { return $tab->hasTabContent(); }); |
|
100 | 100 | } |
101 | 101 | |
102 | 102 | /** |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | |
142 | 142 | if ($n === 0) { |
143 | 143 | $content_class = 'collapse show'; |
144 | - $aria = 'true'; |
|
144 | + $aria = 'true'; |
|
145 | 145 | } |
146 | 146 | if ($fact->isPendingDeletion()) { |
147 | 147 | $container_class .= ' old'; |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | } |
244 | 244 | |
245 | 245 | if ($individual->canEdit() && !$fact->isPendingDeletion()) { |
246 | - $edit_links = FontAwesome::linkIcon('edit', I18N::translate('Edit the gender'), ['href' => 'edit_interface.php?action=edit&xref=' . $individual->getXref() . '&fact_id=' . $fact->getFactId() . '&ged=' . $individual->getTree()->getNameHtml() ]); |
|
246 | + $edit_links = FontAwesome::linkIcon('edit', I18N::translate('Edit the gender'), ['href' => 'edit_interface.php?action=edit&xref=' . $individual->getXref() . '&fact_id=' . $fact->getFactId() . '&ged=' . $individual->getTree()->getNameHtml()]); |
|
247 | 247 | |
248 | 248 | } else { |
249 | 249 | $edit_links = ''; |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | <div class="' . $container_class . '"> |
254 | 254 | <div class="card-header" role="tab" id="name-header-add"> |
255 | 255 | <div class="card-title mb-0"> |
256 | - <b>' . I18N::translate('Gender') . '</b> ' . $sex . $edit_links . ' |
|
256 | + <b>' . I18N::translate('Gender') . '</b> ' . $sex . $edit_links . ' |
|
257 | 257 | </div> |
258 | 258 | </div> |
259 | 259 | </div>'; |