diff options
| author | Rico Sonntag <mail@ricosonntag.de> | 2018-09-23 00:32:55 +0200 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2018-09-22 23:32:55 +0100 |
| commit | b2ce94c6833c25934b40a7e6bc15985d50b5f42a (patch) | |
| tree | 62b41467db3d26698ff21ed862461402d2febd1d /app/GedcomTag.php | |
| parent | a0cead57f9defbc64fdc8dfbbfb2cf01c516be57 (diff) | |
| download | webtrees-b2ce94c6833c25934b40a7e6bc15985d50b5f42a.tar.gz webtrees-b2ce94c6833c25934b40a7e6bc15985d50b5f42a.tar.bz2 webtrees-b2ce94c6833c25934b40a7e6bc15985d50b5f42a.zip | |
Reduced if/else complexity, removed not require else conditions (#1866)
* Reduced if/else complexity, removed not require else conditions
* Fix indentation
* Fix indentation
* Use null-coalesce to simplify logic
* Use null-coalesce to simplify logic
* Use null-coalesce to simplify logic
* Use null-coalesce to simplify logic
* Use null-coalesce to simplify logic
* Use null-coalesce to simplify logic
* Admin theme no longer exists
* Code style
* Use null-coalesce operator to simplify logic
Diffstat (limited to 'app/GedcomTag.php')
| -rw-r--r-- | app/GedcomTag.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/GedcomTag.php b/app/GedcomTag.php index 6e9b7015fa..0531fd5d4c 100644 --- a/app/GedcomTag.php +++ b/app/GedcomTag.php @@ -862,10 +862,10 @@ class GedcomTag if ($record instanceof Repository) { /* I18N: gedcom tag REPO:NAME */ return I18N::translateContext('Repository', 'Name'); - } else { - /* I18N: gedcom tag NAME */ - return I18N::translate('Name'); } + + /* I18N: gedcom tag NAME */ + return I18N::translate('Name'); case 'NAME:FONE': return I18N::translate('Phonetic name'); case 'NAME:_HEB': |
