diff --git a/framework/core/src/Post/CommentPost.php b/framework/core/src/Post/CommentPost.php index af311b169..400aa8a8f 100644 --- a/framework/core/src/Post/CommentPost.php +++ b/framework/core/src/Post/CommentPost.php @@ -169,7 +169,7 @@ class CommentPost extends Post * @param ServerRequestInterface $request * @return string */ - public function formatContent(ServerRequestInterface $request) + public function formatContent(ServerRequestInterface $request = null) { return static::$formatter->render($this->attributes['content'], $this, $request); }