From b08719fe7cf9e7c8b6b0231e24ce270662e06dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <91878298+come-nc@users.noreply.github.com> Date: Mon, 7 Feb 2022 09:47:40 +0100 Subject: [PATCH] Remove parenthesis around return in apps/user_ldap/lib/Command/CheckUser.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet Co-authored-by: Carl Schwan --- apps/user_ldap/lib/Command/CheckUser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user_ldap/lib/Command/CheckUser.php b/apps/user_ldap/lib/Command/CheckUser.php index d05d341f6d9f2..c35557f67ed47 100644 --- a/apps/user_ldap/lib/Command/CheckUser.php +++ b/apps/user_ldap/lib/Command/CheckUser.php @@ -119,7 +119,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int */ protected function userWasMapped(string $ocName): bool { $dn = $this->mapping->getDNByName($ocName); - return ($dn !== false); + return $dn !== false; } /**