summaryrefslogtreecommitdiff
path: root/app/Module/ResearchTaskModule.php
diff options
context:
space:
mode:
authorRico Sonntag <mail@ricosonntag.de>2018-08-27 20:04:49 +0200
committerGreg Roach <fisharebest@gmail.com>2018-08-27 19:04:49 +0100
commit8f53f488f13e53e44dc48778e8f51ec9f91352dd (patch)
tree7c8de419d3b2381f073453ccf601f85bf25b5177 /app/Module/ResearchTaskModule.php
parent12c79f746ea1903d66aea1fe0412eda6149a5532 (diff)
downloadwebtrees-8f53f488f13e53e44dc48778e8f51ec9f91352dd.tar.gz
webtrees-8f53f488f13e53e44dc48778e8f51ec9f91352dd.tar.bz2
webtrees-8f53f488f13e53e44dc48778e8f51ec9f91352dd.zip
Added PHP7 return types to methods according doc block (#1864)
Diffstat (limited to 'app/Module/ResearchTaskModule.php')
-rw-r--r--app/Module/ResearchTaskModule.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Module/ResearchTaskModule.php b/app/Module/ResearchTaskModule.php
index 7c8ed7cce2..a1b3d1c5d3 100644
--- a/app/Module/ResearchTaskModule.php
+++ b/app/Module/ResearchTaskModule.php
@@ -33,14 +33,14 @@ class ResearchTaskModule extends AbstractModule implements ModuleBlockInterface
const DEFAULT_BLOCK = '1';
/** {@inheritdoc} */
- public function getTitle()
+ public function getTitle(): string
{
/* I18N: Name of a module. Tasks that need further research. */
return I18N::translate('Research tasks');
}
/** {@inheritdoc} */
- public function getDescription()
+ public function getDescription(): string
{
/* I18N: Description of “Research tasks” module */
return I18N::translate('A list of tasks and activities that are linked to the family tree.');