From 94d423a9df7c778683688cd86f22bbdba49b382d Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 8 Sep 2023 16:10:29 -0700 Subject: [PATCH] lint: fix php --- lib/Command/Index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Command/Index.php b/lib/Command/Index.php index 63c1aac0..643c2bbb 100644 --- a/lib/Command/Index.php +++ b/lib/Command/Index.php @@ -216,10 +216,10 @@ class Index extends Command if ($group = $this->groupManager->get($gid)) { foreach ($group->getUsers() as $user) { $closure($user); - } - } else { - $this->output->writeln("Group {$gid} not found"); - } + } + } else { + $this->output->writeln("Group {$gid} not found"); + } } else { $this->userManager->callForSeenUsers(static fn (IUser $user) => $closure($user)); }