mirror of
https://github.com/flarum/framework.git
synced 2025-02-28 06:05:25 +08:00
Update MergeableInterface method arguments
This commit is contained in:
parent
577e51f7ad
commit
c6f0fc0985
@ -25,7 +25,7 @@ class DiscussionTaggedPost extends AbstractEventPost implements MergeableInterfa
|
|||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function saveAfter(Post $previous)
|
public function saveAfter(Post $previous = null)
|
||||||
{
|
{
|
||||||
// If the previous post is another 'discussion tagged' post, and it's
|
// If the previous post is another 'discussion tagged' post, and it's
|
||||||
// by the same user, then we can merge this post into it. If we find
|
// by the same user, then we can merge this post into it. If we find
|
||||||
|
Loading…
x
Reference in New Issue
Block a user