Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Storage/DAV.php')
-rw-r--r--lib/private/Files/Storage/DAV.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Files/Storage/DAV.php b/lib/private/Files/Storage/DAV.php
index 625e5f3f625..970f3f8c156 100644
--- a/lib/private/Files/Storage/DAV.php
+++ b/lib/private/Files/Storage/DAV.php
@@ -265,7 +265,7 @@ class DAV extends Common {
try {
$response = $this->client->propFind(
$this->encodePath($path),
- array(
+ [
'{DAV:}getlastmodified',
'{DAV:}getcontentlength',
'{DAV:}getcontenttype',
@@ -273,7 +273,7 @@ class DAV extends Common {
'{http://open-collaboration-services.org/ns}share-permissions',
'{DAV:}resourcetype',
'{DAV:}getetag',
- )
+ ]
);
$this->statCache->set($path, $response);
} catch (ClientHttpException $e) {
@@ -591,7 +591,7 @@ class DAV extends Common {
} catch (\Exception $e) {
$this->convertException($e, $path);
}
- return array();
+ return [];
}
/** {@inheritdoc} */