Completed
Push — master ( 7c329d...587e7c )
by Robin
31:05 queued 56s
created
apps/dav/lib/Upload/UploadHome.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.