Permalink
Browse files

Strict function declaration defined by webtrees.

  • Loading branch information...
JustCarmen committed Sep 9, 2018
1 parent 1eb1ec2 commit a1d26c6e47a4394b55751cf280fa5bbf371c23c8
Showing with 4 additions and 4 deletions.
  1. +4 −4 module.php
@@ -56,12 +56,12 @@ private function module() {
}
// Extend Module
public function getTitle() {
public function getTitle(): string {
return /* I18N: Name of the module */ I18N::translate('Fancy Imagebar');
}
// Extend Module
public function getDescription() {
public function getDescription(): string {
return /* I18N: Description of the module */ I18N::translate('An imagebar with small images between header and content.');
}
@@ -116,15 +116,15 @@ 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',
]);
}
// Implement ModuleMenuInterface
public function defaultMenuOrder() {
public function defaultMenuOrder(): int {
return 999;
}

0 comments on commit a1d26c6

Please sign in to comment.