aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/LargeFileHelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/LargeFileHelper.php')
-rwxr-xr-xlib/private/LargeFileHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/LargeFileHelper.php b/lib/private/LargeFileHelper.php
index dd75ec9820c..2706e2ec2c5 100755
--- a/lib/private/LargeFileHelper.php
+++ b/lib/private/LargeFileHelper.php
@@ -125,7 +125,7 @@ class LargeFileHelper {
$data = curl_exec($ch);
curl_close($ch);
if ($data !== false) {
- $matches = array();
+ $matches = [];
preg_match('/Content-Length: (\d+)/', $data, $matches);
if (isset($matches[1])) {
return 0 + $matches[1];