Permalink
Browse files

Strict function declaration defined by webtrees.

  • Loading branch information...
JustCarmen committed Sep 9, 2018
1 parent 956496b commit cd62e082490ceee4fa85a5acfc8339161389bb99
Showing with 3 additions and 3 deletions.
  1. +3 −3 module.php
@@ -52,12 +52,12 @@ private function module() {
}
// Extend Module
public function getTitle() {
public function getTitle(): string {
return I18N::translate('Fancy Privacy List');
}
// Extend Module
public function getDescription() {
public function getDescription(): string {
return I18N::translate('This is a module for site admins only. With this module you easily can see the privacy settings for each individual in your tree.');
}
@@ -87,7 +87,7 @@ public function modAction($mod_action) {
}
/** {@inheritdoc} */
public function getConfigLink() {
public function getConfigLink(): string {
return Html::url('module.php', [
'mod' => $this->getName(),
'mod_action' => 'admin_config',

0 comments on commit cd62e08

Please sign in to comment.