From caff061ef9adb42d5845dcd407d917cf10da8a6a Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 27 Apr 2016 09:26:35 +0200 Subject: [PATCH] Make signature compatible to base class. #php7 --- kronolith/lib/Event/Holidays.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kronolith/lib/Event/Holidays.php b/kronolith/lib/Event/Holidays.php index 7dc17c86ff5..14fe9eacd01 100644 --- a/kronolith/lib/Event/Holidays.php +++ b/kronolith/lib/Event/Holidays.php @@ -72,9 +72,11 @@ public function hasPermission($permission, $user = null) /** * Return this events title. * + * @param string $user The current user. + * * @return string The title of this event */ - public function getTitle() + public function getTitle($user = null) { return $this->title; }