mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 12:43:52 +08:00
Update MergeableInterface method arguments
This commit is contained in:
parent
3f1140db13
commit
3b6fc53f91
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user