Small code fix.

This commit is contained in:
James Cole
2024-01-05 11:09:52 +01:00
parent f9463e02a2
commit 88f6221424

View File

@@ -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) {