diff --git a/framework/core/src/Discussion/Discussion.php b/framework/core/src/Discussion/Discussion.php index 7835ad4a0..699e20f17 100644 --- a/framework/core/src/Discussion/Discussion.php +++ b/framework/core/src/Discussion/Discussion.php @@ -117,7 +117,7 @@ class Discussion extends AbstractModel /** * Start a new discussion. Raises the DiscussionWasStarted event. */ - public static function start(?string $title, User $user, self $model = null): static + public static function start(?string $title, User $user, self $model = null): self { $discussion = $model ?? new static;