summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2022-02-07 09:47:40 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-03-10 14:40:16 +0100
commitbc6c11d79a722308ea0573ca3c23ecb5066a050b (patch)
treedea1a913725598473e76ac7500e9ee70aa145e75
parentfbb510d3f44e12fb10a6c1fe44160a6a0cdf5da5 (diff)
downloadnextcloud-server-bc6c11d79a722308ea0573ca3c23ecb5066a050b.tar.gz
nextcloud-server-bc6c11d79a722308ea0573ca3c23ecb5066a050b.zip
Remove parenthesis around return in apps/user_ldap/lib/Command/CheckUser.php
Co-authored-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r--apps/user_ldap/lib/Command/CheckUser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Command/CheckUser.php b/apps/user_ldap/lib/Command/CheckUser.php
index d05d341f6d9..c35557f67ed 100644
--- a/apps/user_ldap/lib/Command/CheckUser.php
+++ b/apps/user_ldap/lib/Command/CheckUser.php
@@ -119,7 +119,7 @@ class CheckUser extends Command {
*/
protected function userWasMapped(string $ocName): bool {
$dn = $this->mapping->getDNByName($ocName);
- return ($dn !== false);
+ return $dn !== false;
}
/**