summaryrefslogtreecommitdiffstats
path: root/lib/private/SubAdmin.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-05 15:12:57 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-10-05 20:25:24 +0200
commitd9015a8c94bfd71fe484618a06d276701d3bf9ff (patch)
tree3f7a1cd6ec2fd982dd02de71b76076f7f01cef70 /lib/private/SubAdmin.php
parentd357f4b10fe1b59e1e07bb90641d647522c7bfe2 (diff)
downloadnextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.tar.gz
nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.zip
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/SubAdmin.php')
-rw-r--r--lib/private/SubAdmin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/SubAdmin.php b/lib/private/SubAdmin.php
index 89fd63b4230..a9e3855639c 100644
--- a/lib/private/SubAdmin.php
+++ b/lib/private/SubAdmin.php
@@ -200,7 +200,7 @@ class SubAdmin extends PublicEmitter implements ISubAdmin {
$group = $this->groupManager->get($row['gid']);
if (!is_null($user) && !is_null($group)) {
$subadmins[] = [
- 'user' => $user,
+ 'user' => $user,
'group' => $group
];
}
@@ -228,7 +228,7 @@ class SubAdmin extends PublicEmitter implements ISubAdmin {
->andWhere($qb->expr()->eq('uid', $qb->createNamedParameter($user->getUID())))
->execute();
- $fetch = $result->fetch();
+ $fetch = $result->fetch();
$result->closeCursor();
$result = !empty($fetch) ? true : false;