diff --git a/guides/Symfony.rst b/guides/Symfony.rst index b952421..902552c 100644 --- a/guides/Symfony.rst +++ b/guides/Symfony.rst @@ -47,9 +47,9 @@ stored in an AWS S3 bucket by key: // this is needed to prevent issues with truncated zip files //initialise zipstream with output zip filename and options. $zip = new ZipStream\ZipStream( - 'outputName' => 'test.zip', - 'defaultEnableZeroHeader' => true, - 'contentType' => 'application/octet-stream', + outputName: 'test.zip', + defaultEnableZeroHeader: true, + contentType: 'application/octet-stream', ); //loop keys - useful for multiple files @@ -127,4 +127,4 @@ You need to add correct permissions 's3' => ['ACL' => 'public-read'], ]); - fopen($path, 'w', null, $outputContext); \ No newline at end of file + fopen($path, 'w', null, $outputContext);