From 3b6fc53f91559f1452c569069bcddd0ce56de10f Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 29 Feb 2016 18:53:04 +1030 Subject: [PATCH] Update MergeableInterface method arguments --- extensions/sticky/src/Post/DiscussionStickiedPost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/sticky/src/Post/DiscussionStickiedPost.php b/extensions/sticky/src/Post/DiscussionStickiedPost.php index 26d9abcb1..0ad5cabb5 100755 --- a/extensions/sticky/src/Post/DiscussionStickiedPost.php +++ b/extensions/sticky/src/Post/DiscussionStickiedPost.php @@ -25,7 +25,7 @@ class DiscussionStickiedPost extends AbstractEventPost implements MergeableInter /** * {@inheritdoc} */ - public function saveAfter(Post $previous) + public function saveAfter(Post $previous = null) { // If the previous post is another 'discussion stickied' post, and it's // by the same user, then we can merge this post into it. If we find