summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Http/DataResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/AppFramework/Http/DataResponse.php')
-rw-r--r--lib/public/AppFramework/Http/DataResponse.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/AppFramework/Http/DataResponse.php b/lib/public/AppFramework/Http/DataResponse.php
index d6068f9c515..29c042def7c 100644
--- a/lib/public/AppFramework/Http/DataResponse.php
+++ b/lib/public/AppFramework/Http/DataResponse.php
@@ -51,8 +51,8 @@ class DataResponse extends Response {
* @param array $headers additional key value based headers
* @since 8.0.0
*/
- public function __construct($data=array(), $statusCode=Http::STATUS_OK,
- array $headers=array()) {
+ public function __construct($data=[], $statusCode=Http::STATUS_OK,
+ array $headers=[]) {
parent::__construct();
$this->data = $data;