aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/Sabre/RootCollection.php
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2021-02-18 14:05:54 +0100
committerGitHub <noreply@github.com>2021-02-18 14:05:54 +0100
commit5026d2cca10fa65be68367002eff147d7dc71077 (patch)
treed4d7119b0b8f547aebcc857c5297fc52ccc5a4b3 /apps/files_versions/lib/Sabre/RootCollection.php
parentbbb39cf3deb350738a28b5f5bdf40572f1406897 (diff)
parenteb502c02ff7693bb36318d857985f79e7bac370c (diff)
downloadnextcloud-server-5026d2cca10fa65be68367002eff147d7dc71077.tar.gz
nextcloud-server-5026d2cca10fa65be68367002eff147d7dc71077.zip
Merge pull request #25086 from nextcloud/dependabot/composer/nextcloud/coding-standard-0.5.0
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
Diffstat (limited to 'apps/files_versions/lib/Sabre/RootCollection.php')
-rw-r--r--apps/files_versions/lib/Sabre/RootCollection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/Sabre/RootCollection.php b/apps/files_versions/lib/Sabre/RootCollection.php
index fb68e0f0bfc..13a55512602 100644
--- a/apps/files_versions/lib/Sabre/RootCollection.php
+++ b/apps/files_versions/lib/Sabre/RootCollection.php
@@ -70,7 +70,7 @@ class RootCollection extends AbstractPrincipalCollection {
* @return INode
*/
public function getChildForPrincipal(array $principalInfo) {
- list(, $name) = \Sabre\Uri\split($principalInfo['uri']);
+ [, $name] = \Sabre\Uri\split($principalInfo['uri']);
$user = \OC::$server->getUserSession()->getUser();
if (is_null($user) || $name !== $user->getUID()) {
throw new \Sabre\DAV\Exception\Forbidden();