Permalink
Browse files

Strict function declaration defined by webtrees.

  • Loading branch information...
JustCarmen committed Sep 9, 2018
1 parent d4203d9 commit 091e3cdb125fe9f4795efda3c2b0b2295a0bbad4
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: Name of a module */ I18N::translate('Fancy Gendex');
}
// Extend Module
public function getDescription() {
public function getDescription(): string {
return /* I18N: Description of the module */ I18N::translate('Generate GENDEX file for genealogical search engines.');
}
@@ -82,7 +82,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 091e3cd

Please sign in to comment.