Browse Source

required args first

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
tags/v1.1.0^2
Arthur Schiwon 2 years ago
parent
commit
5fc4980bbf
No known key found for this signature in database GPG Key ID: 7424F1874854DF23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lib/Controller/DataRequestController.php

+ 2
- 2
lib/Controller/DataRequestController.php View File

@@ -38,10 +38,10 @@ class DataRequestController extends OCSController {
public function __construct(
$appName,
IRequest $request,
Request $dataRequest,
$corsMethods = 'PUT, POST, GET, DELETE, PATCH',
$corsAllowedHeaders = 'Authorization, Content-Type, Accept',
$corsMaxAge = 1728000,
Request $dataRequest
$corsMaxAge = 1728000
) {
parent::__construct($appName, $request, $corsMethods, $corsAllowedHeaders, $corsMaxAge);
$this->dataRequest = $dataRequest;


Loading…
Cancel
Save