@@ -231,7 +231,7 @@ |
||
| 231 | 231 | |
| 232 | 232 | |
| 233 | 233 | /** |
| 234 | - * @param $userId |
|
| 234 | + * @param string $userId |
|
| 235 | 235 | * |
| 236 | 236 | * @return MountPoint[] |
| 237 | 237 | */ |
@@ -244,7 +244,7 @@ |
||
| 244 | 244 | foreach ($mounts as $path => $mount) { |
| 245 | 245 | $mountPoint = new MountPoint(); |
| 246 | 246 | $mountPoint->setId($mount['id']) |
| 247 | - ->setPath('/' . $userId . '/files/' . $path) |
|
| 247 | + ->setPath('/'.$userId.'/files/'.$path) |
|
| 248 | 248 | ->setGroups($mount['applicable']['groups']) |
| 249 | 249 | ->setUsers($mount['applicable']['users']) |
| 250 | 250 | ->setGlobal((!$mount['personal'])); |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | private function getMountPoint(Node $file) { |
| 194 | 194 | |
| 195 | 195 | foreach ($this->groupFolders as $mount) { |
| 196 | - echo '###### ' . $file->getPath() . ' ' . $mount->getPath() . "\n"; |
|
| 196 | + echo '###### '.$file->getPath().' '.$mount->getPath()."\n"; |
|
| 197 | 197 | if (strpos($file->getPath(), $mount->getPath()) === 0) { |
| 198 | 198 | return $mount; |
| 199 | 199 | } |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | foreach ($mounts as $path => $mount) { |
| 217 | 217 | $mountPoint = new MountPoint(); |
| 218 | 218 | $mountPoint->setId($mount['id']) |
| 219 | - ->setPath('/' . $userId . '/files/' . $mount['mount_point']) |
|
| 219 | + ->setPath('/'.$userId.'/files/'.$mount['mount_point']) |
|
| 220 | 220 | ->setGroups(array_keys($mount['applicable']['groups'])); |
| 221 | 221 | $mountPoints[] = $mountPoint; |
| 222 | 222 | } |