diff options
author | Robin Appelman <robin@icewind.nl> | 2021-01-26 15:48:04 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-03-15 17:51:34 +0000 |
commit | c7278790738c346e25f4ad201806e4a7a9e81363 (patch) | |
tree | b066ec7fff801ce43890ef6a1edc9c66470592e4 /lib/private | |
parent | ec0985ba68069a6fb2bd3c9454be5d533a124881 (diff) | |
download | nextcloud-server-c7278790738c346e25f4ad201806e4a7a9e81363.tar.gz nextcloud-server-c7278790738c346e25f4ad201806e4a7a9e81363.zip |
adjust tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheJail.php | 2 | ||||
-rw-r--r-- | lib/private/Share20/Share.php | 1 |
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; |