aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/ObjectStore/S3Test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Files/ObjectStore/S3Test.php')
-rw-r--r--tests/lib/Files/ObjectStore/S3Test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/Files/ObjectStore/S3Test.php b/tests/lib/Files/ObjectStore/S3Test.php
index 91b24d8b615..b56978f4fee 100644
--- a/tests/lib/Files/ObjectStore/S3Test.php
+++ b/tests/lib/Files/ObjectStore/S3Test.php
@@ -34,11 +34,11 @@ class MultiPartUploadS3 extends S3 {
class NonSeekableStream extends Wrapper {
public static function wrap($source) {
- $context = stream_context_create(array(
- 'nonseek' => array(
+ $context = stream_context_create([
+ 'nonseek' => [
'source' => $source
- )
- ));
+ ]
+ ]);
return Wrapper::wrapSource($source, $context, 'nonseek', self::class);
}