summaryrefslogtreecommitdiff
path: root/app/Date/RomanDate.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Date/RomanDate.php')
-rw-r--r--app/Date/RomanDate.php21
1 files changed, 12 insertions, 9 deletions
diff --git a/app/Date/RomanDate.php b/app/Date/RomanDate.php
index efeb0dc504..23a0883046 100644
--- a/app/Date/RomanDate.php
+++ b/app/Date/RomanDate.php
@@ -22,14 +22,17 @@ namespace Fisharebest\Webtrees\Date;
* how it is to be represented.... This class is just a place holder so that
* webtrees won’t compain if it receives one.
*/
-class RomanDate extends JulianDate {
- /** {@inheritdoc} */
- protected function formatGedcomYear() {
- return sprintf('%04dAUC', $this->y);
- }
+class RomanDate extends JulianDate
+{
+ /** {@inheritdoc} */
+ protected function formatGedcomYear()
+ {
+ return sprintf('%04dAUC', $this->y);
+ }
- /** {@inheritdoc} */
- protected function formatLongYear() {
- return $this->y . 'AUC';
- }
+ /** {@inheritdoc} */
+ protected function formatLongYear()
+ {
+ return $this->y . 'AUC';
+ }
}