summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/View.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/View.php')
-rw-r--r--lib/private/Files/View.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index e3f704a7cbc..567af4d23ab 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -1454,7 +1454,7 @@ class View {
$sharingDisabled = \OCP\Util::isSharingDisabledForUser();
- $fileNames = array_map(function(ICacheEntry $content) {
+ $fileNames = array_map(function (ICacheEntry $content) {
return $content->getName();
}, $contents);
/**
@@ -1735,7 +1735,7 @@ class View {
// put non shared mounts in front of the shared mount
// this prevent unneeded recursion into shares
- usort($mounts, function(IMountPoint $a, IMountPoint $b) {
+ usort($mounts, function (IMountPoint $a, IMountPoint $b) {
return $a instanceof SharedMount && (!$b instanceof SharedMount) ? 1 : -1;
});