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
…87)

Co-authored-by: ThunderAl <[email protected]>
  • Loading branch information
thunder-al and ThunderAl authored Sep 10, 2024
1 parent 572b4d1 commit f25e0c7
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 f25e0c7

Please sign in to comment.