aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Node/Node.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Node/Node.php')
-rw-r--r--lib/private/Files/Node/Node.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Node/Node.php b/lib/private/Files/Node/Node.php
index 92635a55baa..4077a7f4d72 100644
--- a/lib/private/Files/Node/Node.php
+++ b/lib/private/Files/Node/Node.php
@@ -159,7 +159,7 @@ class Node implements \OCP\Files\Node {
* @throws \OCP\Files\NotFoundException
*/
public function getStorage() {
- list($storage,) = $this->view->resolvePath($this->path);
+ [$storage,] = $this->view->resolvePath($this->path);
return $storage;
}
@@ -174,7 +174,7 @@ class Node implements \OCP\Files\Node {
* @return string
*/
public function getInternalPath() {
- list(, $internalPath) = $this->view->resolvePath($this->path);
+ [, $internalPath] = $this->view->resolvePath($this->path);
return $internalPath;
}