Permalink
Browse files

Strict function declaration

  • Loading branch information...
JustCarmen committed Sep 26, 2018
1 parent bd0cea1 commit 9b2e451312f4244b4e75b8354fdbbf9b810c8e99
Showing with 3 additions and 3 deletions.
  1. +3 −3 module.php
@@ -58,12 +58,12 @@ private function module() {
}
// Extend Module
public function getTitle() {
public function getTitle(): string {
return /* I18N: Name of a module */ I18N::translate('JustBlack Theme Options');
}
// Extend Module
public function getDescription() {
public function getDescription(): string {
return /* I18N: Description of the module */ I18N::translate('Set options for the JustBlack theme within the admin interface');
}
@@ -94,7 +94,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 9b2e451

Please sign in to comment.