Skip to content

Commit

Permalink
fix(phpstan): return type
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Nov 4, 2024
1 parent ffea0db commit d7a5403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/core/src/Discussion/Discussion.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static function boot()
/**
* 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;

Expand Down

0 comments on commit d7a5403

Please sign in to comment.