summaryrefslogtreecommitdiff
path: root/app/GedcomTag.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-03-07 18:49:27 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-03-07 21:37:35 +0000
commite364afe4ae4e316fc4ebd53eccbaff2d29e419a5 (patch)
tree9e269d16bd3714e9943169fc4a31c192b065c36c /app/GedcomTag.php
parent7d99559cb9c1475576caf7ef2fe79a5aad947d30 (diff)
downloadwebtrees-e364afe4ae4e316fc4ebd53eccbaff2d29e419a5.tar.gz
webtrees-e364afe4ae4e316fc4ebd53eccbaff2d29e419a5.tar.bz2
webtrees-e364afe4ae4e316fc4ebd53eccbaff2d29e419a5.zip
Code style and testing
Diffstat (limited to 'app/GedcomTag.php')
-rw-r--r--app/GedcomTag.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/GedcomTag.php b/app/GedcomTag.php
index 63b7ea950a..197c18a1b2 100644
--- a/app/GedcomTag.php
+++ b/app/GedcomTag.php
@@ -439,7 +439,7 @@ class GedcomTag
*
* @return string
*/
- public static function getLabel($tag, GedcomRecord $record = null)
+ public static function getLabel($tag, GedcomRecord $record = null): string
{
if ($record instanceof Individual) {
$sex = $record->sex();
@@ -2344,7 +2344,7 @@ class GedcomTag
*
* @return string
*/
- public static function getFileFormTypeValue($type)
+ public static function getFileFormTypeValue($type): ?string
{
switch (strtolower($type)) {
case 'audio':