diff --git a/framework/core/src/Discussion/Discussion.php b/framework/core/src/Discussion/Discussion.php index cf1b8c721a..908e5231e2 100644 --- a/framework/core/src/Discussion/Discussion.php +++ b/framework/core/src/Discussion/Discussion.php @@ -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); + } }); }