mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Update MergeableInterface method arguments
This commit is contained in:
parent
e0aecfce1e
commit
8d75ab308c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user