From 6f22c8c54d62616934f5a840ee51931a3d2cea75 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 18 Oct 2023 13:53:57 +0000 Subject: [PATCH] Apply fixes from StyleCI --- framework/core/src/Discussion/Discussion.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); + } }); }