summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Upload
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-04-09 15:53:09 +0200
committerGitHub <noreply@github.com>2020-04-09 15:53:09 +0200
commitc56a273b39186c509c57ef6bec221d3c4e3d81d3 (patch)
treeb2e4095e763874699646c2c90e41785c99b6f247 /apps/dav/lib/Upload
parentf0dd71ccd266ede38114d25be035abb3f2661fc8 (diff)
parentafbd9c4e6ed834e713039f2cff88ba3eec03dadb (diff)
downloadnextcloud-server-c56a273b39186c509c57ef6bec221d3c4e3d81d3.tar.gz
nextcloud-server-c56a273b39186c509c57ef6bec221d3c4e3d81d3.zip
Merge pull request #20383 from nextcloud/techdebt/function-spacing
Unify function spacing to PSR2 recommendation
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());
}