@@ -55,7 +55,7 @@ |
||
| 55 | 55 | $this->attributes = $attributes; |
| 56 | 56 | $this->roles = $roles; |
| 57 | 57 | $this->memberships = $memberships; |
| 58 | - $this->ownerships = array_map(function($group) { |
|
| 58 | + $this->ownerships = array_map(function ($group) { |
|
| 59 | 59 | return $group['ou'][0]; |
| 60 | 60 | }, $ownerships); |
| 61 | 61 | } |
@@ -353,7 +353,7 @@ |
||
| 353 | 353 | */ |
| 354 | 354 | public function createGuest($name, $mail) |
| 355 | 355 | { |
| 356 | - $username = 'guest'.$this->generateUsername($name); |
|
| 356 | + $username = 'guest' . $this->generateUsername($name); |
|
| 357 | 357 | $dn = sprintf('uid=%s,ou=guests,ou=people,o=sog-de,dc=sog', $username); |
| 358 | 358 | $info = []; |
| 359 | 359 | |