Skip to content

Commit

Permalink
Make signature compatible to base class.
Browse files Browse the repository at this point in the history
#php7
  • Loading branch information
yunosh committed Apr 27, 2016
1 parent b3e32c0 commit caff061
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kronolith/lib/Event/Holidays.php
Expand Up @@ -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;
}
Expand Down

0 comments on commit caff061

Please sign in to comment.