aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2021-01-26 15:48:04 +0100
committerRobin Appelman <robin@icewind.nl>2021-01-26 15:55:38 +0100
commite511a539b7e2348a2ed0cf8dbfc34ab9a69240f1 (patch)
tree531fcd0d0113e8222bbbbc129f2242a235d3aa3b /lib
parent5ae0be08b47d423ad5e48d84368543852f6d42e0 (diff)
downloadnextcloud-server-e511a539b7e2348a2ed0cf8dbfc34ab9a69240f1.tar.gz
nextcloud-server-e511a539b7e2348a2ed0cf8dbfc34ab9a69240f1.zip
adjust tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Cache/Wrapper/CacheJail.php2
-rw-r--r--lib/private/Share20/Share.php1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Files/Cache/Wrapper/CacheJail.php b/lib/private/Files/Cache/Wrapper/CacheJail.php
index 97700156d08..fe3124301ba 100644
--- a/lib/private/Files/Cache/Wrapper/CacheJail.php
+++ b/lib/private/Files/Cache/Wrapper/CacheJail.php
@@ -231,7 +231,7 @@ class CacheJail extends CacheWrapper {
}
private function formatSearchResults($results) {
- return array_map(function($entry) {
+ return array_map(function ($entry) {
$entry['path'] = $this->getJailedPath($entry['path'], $this->getGetUnjailedRoot());
return $entry;
}, $results);
diff --git a/lib/private/Share20/Share.php b/lib/private/Share20/Share.php
index 9b782d5a446..a4fbf051413 100644
--- a/lib/private/Share20/Share.php
+++ b/lib/private/Share20/Share.php
@@ -31,7 +31,6 @@
namespace OC\Share20;
use OCP\Files\Cache\ICacheEntry;
-use OCP\Files\File;
use OCP\Files\FileInfo;
use OCP\Files\IRootFolder;
use OCP\Files\Node;