summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-foundation/StreamedResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-foundation/StreamedResponse.php')
-rw-r--r--vendor/symfony/http-foundation/StreamedResponse.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/symfony/http-foundation/StreamedResponse.php b/vendor/symfony/http-foundation/StreamedResponse.php
index d3bcbb79d3..8310ea72d6 100644
--- a/vendor/symfony/http-foundation/StreamedResponse.php
+++ b/vendor/symfony/http-foundation/StreamedResponse.php
@@ -35,7 +35,7 @@ class StreamedResponse extends Response
* @param int $status The response status code
* @param array $headers An array of response headers
*/
- public function __construct(callable $callback = null, int $status = 200, array $headers = array())
+ public function __construct(callable $callback = null, int $status = 200, array $headers = [])
{
parent::__construct(null, $status, $headers);
@@ -55,7 +55,7 @@ class StreamedResponse extends Response
*
* @return static
*/
- public static function create($callback = null, $status = 200, $headers = array())
+ public static function create($callback = null, $status = 200, $headers = [])
{
return new static($callback, $status, $headers);
}