From 88f6221424d71f53704b2b71df4b2c526fda30b1 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 5 Jan 2024 11:09:52 +0100 Subject: [PATCH] Small code fix. --- app/Repositories/RuleGroup/RuleGroupRepository.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Repositories/RuleGroup/RuleGroupRepository.php b/app/Repositories/RuleGroup/RuleGroupRepository.php index 5655ab11f0..eb1d3961e1 100644 --- a/app/Repositories/RuleGroup/RuleGroupRepository.php +++ b/app/Repositories/RuleGroup/RuleGroupRepository.php @@ -153,7 +153,8 @@ class RuleGroupRepository implements RuleGroupRepositoryInterface public function destroyAll(): void { - Log::channel('audit')->info('Delete all rule groups through destroyAll'); $groups = $this->get(); + Log::channel('audit')->info('Delete all rule groups through destroyAll'); + $groups = $this->get(); /** @var RuleGroup $group */ foreach ($groups as $group) {