aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Upload
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:53:40 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:54:22 +0200
commitafbd9c4e6ed834e713039f2cff88ba3eec03dadb (patch)
tree7d8721cf8fc0329d6b750db63798de67a162b090 /apps/dav/lib/Upload
parent19e97e86c69ab128191439d6a17dacb5a630cf98 (diff)
downloadnextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.tar.gz
nextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.zip
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/lib/Upload')
-rw-r--r--apps/dav/lib/Upload/FutureFile.php2
-rw-r--r--apps/dav/lib/Upload/UploadHome.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Upload/FutureFile.php b/apps/dav/lib/Upload/FutureFile.php
index 923376c8eab..34a5981bda2 100644
--- a/apps/dav/lib/Upload/FutureFile.php
+++ b/apps/dav/lib/Upload/FutureFile.php
@@ -86,7 +86,7 @@ class FutureFile implements \Sabre\DAV\IFile {
*/
function getSize() {
$children = $this->root->getChildren();
- $sizes = array_map(function($node) {
+ $sizes = array_map(function ($node) {
/** @var IFile $node */
return $node->getSize();
}, $children);
diff --git a/apps/dav/lib/Upload/UploadHome.php b/apps/dav/lib/Upload/UploadHome.php
index 77a5043b3a4..8bc96d8cf1f 100644
--- a/apps/dav/lib/Upload/UploadHome.php
+++ b/apps/dav/lib/Upload/UploadHome.php
@@ -59,7 +59,7 @@ class UploadHome implements ICollection {
}
public function getChildren(): array {
- return array_map(function($node) {
+ return array_map(function ($node) {
return new UploadFolder($node, $this->cleanupService);
}, $this->impl()->getChildren());
}