Permalink
Browse files

Strict function declaration

  • Loading branch information...
JustCarmen committed Sep 27, 2018
1 parent 55fadb5 commit 456b7510ced6cc46f02875848103188b8d15cd35
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('JustLight Theme Options');
}
// Extend Module
public function getDescription() {
public function getDescription(): string {
return /* I18N: Description of the module */ I18N::translate('Set options for the JustLight theme within the admin interface');
}
@@ -90,7 +90,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 456b751

Please sign in to comment.