mirror of
https://github.com/flarum/core.git
synced 2025-07-21 08:41:17 +02:00
Update MergeableInterface method arguments
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user