summaryrefslogtreecommitdiff
path: root/app/GedcomRecord.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2021-10-13 10:54:16 +0100
committerGreg Roach <greg@subaqua.co.uk>2021-10-13 14:09:26 +0100
commit73d58381388d199b1beb6f2a613b98f25617f706 (patch)
tree7b63ac5c97f56c43bdfa3e50a260390f6d0ef514 /app/GedcomRecord.php
parentd85de00fd5bcdcfbee029fa7c1da0240428565da (diff)
downloadwebtrees-73d58381388d199b1beb6f2a613b98f25617f706.tar.gz
webtrees-73d58381388d199b1beb6f2a613b98f25617f706.tar.bz2
webtrees-73d58381388d199b1beb6f2a613b98f25617f706.zip
Add missing type-hints
Diffstat (limited to 'app/GedcomRecord.php')
-rw-r--r--app/GedcomRecord.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/GedcomRecord.php b/app/GedcomRecord.php
index 26cbe23ec1..ea111b9927 100644
--- a/app/GedcomRecord.php
+++ b/app/GedcomRecord.php
@@ -540,9 +540,9 @@ class GedcomRecord
if ($event->date()->isOK() || $event->place()->gedcomName() !== '') {
switch ($style) {
case 1:
- return '<br><em>' . $event->label() . ' ' . FunctionsPrint::formatFactDate($event, $this, false, false) . $joiner . FunctionsPrint::formatFactPlace($event) . '</em>';
+ return '<br><em>' . $event->label() . ' ' . FunctionsPrint::formatFactDate($event, $this, false, false) . $joiner . FunctionsPrint::formatFactPlace($event, false, false, false) . '</em>';
case 2:
- return '<dl><dt class="label">' . $event->label() . '</dt><dd class="field">' . FunctionsPrint::formatFactDate($event, $this, false, false) . $joiner . FunctionsPrint::formatFactPlace($event) . '</dd></dl>';
+ return '<dl><dt class="label">' . $event->label() . '</dt><dd class="field">' . FunctionsPrint::formatFactDate($event, $this, false, false) . $joiner . FunctionsPrint::formatFactPlace($event, false, false, false) . '</dd></dl>';
}
}
}