From 8d75ab308c8412d3d66bebdc465b0bff12a77779 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 29 Feb 2016 18:51:07 +1030 Subject: [PATCH] Update MergeableInterface method arguments --- extensions/lock/src/Post/DiscussionLockedPost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/lock/src/Post/DiscussionLockedPost.php b/extensions/lock/src/Post/DiscussionLockedPost.php index ddb62a9af..60a595a8d 100755 --- a/extensions/lock/src/Post/DiscussionLockedPost.php +++ b/extensions/lock/src/Post/DiscussionLockedPost.php @@ -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