Skip to content

Commit

Permalink
fix: creation of dynamic property in core/flarum DispatchEventsTrait
Browse files Browse the repository at this point in the history
  • Loading branch information
ThunderAl committed Jul 25, 2024
1 parent 572b4d1 commit a3bc081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Event/WillReactToPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class WillReactToPost
/**
* @var User
*/
public $user;
public $actor;

/**
* @var Reaction
Expand All @@ -48,7 +48,7 @@ class WillReactToPost
public function __construct(Post $post, User $user, Reaction $reaction, $changed = false)
{
$this->post = $post;
$this->user = $user;
$this->actor = $user;
$this->reaction = $reaction;
$this->changed = $changed;
}
Expand Down

0 comments on commit a3bc081

Please sign in to comment.