diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2021-10-13 10:54:16 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2021-10-13 14:09:26 +0100 |
| commit | 73d58381388d199b1beb6f2a613b98f25617f706 (patch) | |
| tree | 7b63ac5c97f56c43bdfa3e50a260390f6d0ef514 /app/GedcomRecord.php | |
| parent | d85de00fd5bcdcfbee029fa7c1da0240428565da (diff) | |
| download | webtrees-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.php | 4 |
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>'; } } } |
