Skip to content

Commit ef584fa

Browse files
committed
chore: composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 728d5de commit ef584fa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/LDAPGroupManager.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public function addToGroup($uid, $gid): bool {
109109
break;
110110
default:
111111
$this->logger->notice('Unexpected attribute {attribute} as group member association.', ['attribute' => $attribute]);
112+
// no break
112113
case 'uniquemember':
113114
case 'member':
114115
$entry[$attribute] = $this->ldapProvider->getUserDN($uid);
@@ -147,6 +148,7 @@ public function removeFromGroup($uid, $gid): bool {
147148
break;
148149
default:
149150
$this->logger->notice('Unexpected attribute {attribute} as group member association.', ['attribute' => $attribute]);
151+
// no break
150152
case 'uniquemember':
151153
case 'member':
152154
$entry[$attribute] = $this->ldapProvider->getUserDN($uid);
@@ -190,6 +192,7 @@ private function buildNewEntry(string $gid, string $attribute): array {
190192
break;
191193
default:
192194
$this->logger->notice('Unexpected attribute {attribute} as group member association.', ['attribute' => $attribute]);
195+
// no break
193196
case 'uniquemember':
194197
case 'member':
195198
$entry['objectClass'][] = 'groupOfNames';

0 commit comments

Comments
 (0)