Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Oct 18, 2023
1 parent 4040405 commit 6f22c8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/core/src/Discussion/Discussion.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ public function restore(): static
$this->raise(new Restored($this));

$this->saved(function (self $model) {
if ($model === $this) {
$model->fireModelEvent('restored', false);
}
if ($model === $this) {
$model->fireModelEvent('restored', false);
}
});
}

Expand Down

0 comments on commit 6f22c8c

Please sign in to comment.