aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-03-16 11:43:53 +0100
committerVincent Petry <vincent@nextcloud.com>2021-03-16 11:43:53 +0100
commitc6d2d8746c42246f3b8cda07f52b0479aa79cff9 (patch)
tree388f83ab571927ce50f9855097dcb242cf628534 /apps/files_sharing
parent72e620186973454459e8de2972ecde92c9e62756 (diff)
downloadnextcloud-server-c6d2d8746c42246f3b8cda07f52b0479aa79cff9.tar.gz
nextcloud-server-c6d2d8746c42246f3b8cda07f52b0479aa79cff9.zip
Fix CS in CacheTest
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/tests/CacheTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/CacheTest.php b/apps/files_sharing/tests/CacheTest.php
index a30409a0e37..ae8be7731fe 100644
--- a/apps/files_sharing/tests/CacheTest.php
+++ b/apps/files_sharing/tests/CacheTest.php
@@ -548,7 +548,7 @@ class CacheTest extends TestCase {
self::loginHelper(self::TEST_FILES_SHARING_API_USER2);
/** @var SharedStorage $sharedStorage */
- list($sharedStorage) = \OC\Files\Filesystem::resolvePath('/' . self::TEST_FILES_SHARING_API_USER2 . '/files/sub');
+ [$sharedStorage] = \OC\Files\Filesystem::resolvePath('/' . self::TEST_FILES_SHARING_API_USER2 . '/files/sub');
$results = $sharedStorage->getCache()->search("foo.txt");
$this->assertCount(1, $results);