Permalink
Browse files

Strict function declaration defined by webtrees.

  • Loading branch information...
JustCarmen committed Sep 9, 2018
1 parent d08543d commit b530a73c44379c1b2e8b5360f50aae3d3e09818a
Showing with 5 additions and 5 deletions.
  1. +5 −5 module.php
@@ -84,22 +84,22 @@ public function __construct() {
$loader->register();
}
public function getName() {
public function getName(): string {
return 'fancy_treeview_pdf';
}
/** {@inheritdoc} */
public function getTitle() {
public function getTitle(): string {
return /* I18N: Name of the Fancy Treeview PDF-module */ I18N::translate('Fancy Treeview PDF');
}
/** {@inheritdoc} */
public function getDescription() {
public function getDescription(): string {
return /* I18N: Description of the module */ I18N::translate('Fancy Treeview module extension: offer your users to download a Fancy Treeview page as PDF.');
}
/** {@inheritdoc} */
public function getConfigLink() {
public function getConfigLink(): string {
return Html::url('module.php', [
'mod' => $this->getName(),
'mod_action' => 'admin_config',
@@ -162,7 +162,7 @@ public function modAction($mod_action) {
}
/** {@inheritdoc} */
public function hasTabContent(Individual $individual) {
public function hasTabContent(Individual $individual): bool {
return false;
}

0 comments on commit b530a73

Please sign in to comment.