Update MergeableInterface method arguments

This commit is contained in:
Toby Zerner 2016-02-29 18:51:07 +10:30
parent e0aecfce1e
commit 8d75ab308c

View File

@ -25,7 +25,7 @@ class DiscussionLockedPost extends AbstractEventPost implements MergeableInterfa
/**
* {@inheritdoc}
*/
public function saveAfter(Post $previous)
public function saveAfter(Post $previous = null)
{
// If the previous post is another 'discussion locked' post, and it's
// by the same user, then we can merge this post into it. If we find