summaryrefslogtreecommitdiff
path: root/app/Config.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/Config.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/Config.php')
-rw-r--r--app/Config.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/Config.php b/app/Config.php
index 68824e1e28..6ed24bd8dc 100644
--- a/app/Config.php
+++ b/app/Config.php
@@ -26,7 +26,7 @@ class Config
*
* @return string[]
*/
- public static function namePrefixes()
+ public static function namePrefixes(): array
{
return [
'Adm',
@@ -72,7 +72,7 @@ class Config
*
* @return string[]
*/
- public static function fileFormats()
+ public static function fileFormats(): array
{
return [
'avi',
@@ -93,7 +93,7 @@ class Config
*
* return string[]
*/
- public static function emptyFacts()
+ public static function emptyFacts(): array
{
return [
'ADOP',
@@ -150,7 +150,7 @@ class Config
*
* @return string[]
*/
- public static function nonPlaceFacts()
+ public static function nonPlaceFacts(): array
{
return [
'ENDL',
@@ -166,7 +166,7 @@ class Config
*
* @return string[]
*/
- public static function nonDateFacts()
+ public static function nonDateFacts(): array
{
return [
'ABBR',
@@ -203,7 +203,7 @@ class Config
*
* @return string[]
*/
- public static function dateAndTime()
+ public static function dateAndTime(): array
{
return [
'BIRT',
@@ -217,7 +217,7 @@ class Config
*
* @return string[][]
*/
- public static function levelTwoTags()
+ public static function levelTwoTags(): array
{
return [
'TYPE' => [
@@ -430,7 +430,7 @@ class Config
*
* @return string[]
*/
- public static function twoAssociates()
+ public static function twoAssociates(): array
{
return [
'CHR',