@@ -222,7 +222,7 @@ |
||
| 222 | 222 | foreach ($mounts as $path => $mount) { |
| 223 | 223 | $mountPoint = new MountPoint(); |
| 224 | 224 | $mountPoint->setId($this->getInt('id', $mount, -1)) |
| 225 | - ->setPath('/' . $userId . '/files/' . $mount['mount_point']) |
|
| 225 | + ->setPath('/'.$userId.'/files/'.$mount['mount_point']) |
|
| 226 | 226 | ->setGroups(array_keys($mount['groups'])); |
| 227 | 227 | $mountPoints[] = $mountPoint; |
| 228 | 228 | } |
@@ -404,7 +404,7 @@ discard block |
||
| 404 | 404 | foreach ($keys as $key) { |
| 405 | 405 | if (!array_key_exists($key, $arr)) { |
| 406 | 406 | throw new MalformedArrayException( |
| 407 | - 'source: ' . json_encode($arr) . ' - missing key: ' . $key |
|
| 407 | + 'source: '.json_encode($arr).' - missing key: '.$key |
|
| 408 | 408 | ); |
| 409 | 409 | } |
| 410 | 410 | } |
@@ -417,7 +417,7 @@ discard block |
||
| 417 | 417 | protected function cleanArray(array &$arr) { |
| 418 | 418 | $arr = array_filter( |
| 419 | 419 | $arr, |
| 420 | - function ($v) { |
|
| 420 | + function($v) { |
|
| 421 | 421 | if (is_string($v)) { |
| 422 | 422 | return ($v !== ''); |
| 423 | 423 | } |