aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/TestCase.php')
-rw-r--r--tests/lib/TestCase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/TestCase.php b/tests/lib/TestCase.php
index 6cadf9693c3..08c59633e42 100644
--- a/tests/lib/TestCase.php
+++ b/tests/lib/TestCase.php
@@ -408,7 +408,7 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase {
// get the user for which the fs is setup
$view = Filesystem::getView();
if ($view) {
- list(, $user) = explode('/', $view->getRoot());
+ [, $user] = explode('/', $view->getRoot());
} else {
$user = null;
}