Update MergeableInterface method arguments

This commit is contained in:
Toby Zerner 2016-02-29 18:50:54 +10:30
parent 577e51f7ad
commit c6f0fc0985

View File

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