@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | public function createFile($name, $data = null) { |
| 31 | - throw new Forbidden('Permission denied to create file (filename ' . $name . ')'); |
|
| 31 | + throw new Forbidden('Permission denied to create file (filename '.$name.')'); |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | public function createDirectory($name) { |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | public function getChildren(): array { |
| 46 | - return array_map(function ($node) { |
|
| 46 | + return array_map(function($node) { |
|
| 47 | 47 | return new UploadFolder($node, $this->cleanupService, $this->getStorage()); |
| 48 | 48 | }, $this->impl()->getChildren()); |
| 49 | 49 | } |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | if (!$user) { |
| 76 | 76 | throw new Forbidden('Not logged in'); |
| 77 | 77 | } |
| 78 | - $path = '/' . $user->getUID() . '/uploads'; |
|
| 78 | + $path = '/'.$user->getUID().'/uploads'; |
|
| 79 | 79 | try { |
| 80 | 80 | $folder = $this->rootFolder->get($path); |
| 81 | 81 | if (!$folder instanceof Folder) { |