summaryrefslogtreecommitdiffstats
path: root/core/Controller/OCSController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/OCSController.php')
-rw-r--r--core/Controller/OCSController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Controller/OCSController.php b/core/Controller/OCSController.php
index 35eac3a3d8b..ff939f71a4f 100644
--- a/core/Controller/OCSController.php
+++ b/core/Controller/OCSController.php
@@ -122,11 +122,11 @@ class OCSController extends \OCP\AppFramework\OCSController {
]);
}
- $response = new DataResponse(null, 102);
+ $response = new DataResponse([], 102);
$response->throttle();
return $response;
}
- return new DataResponse(null, 101);
+ return new DataResponse([], 101);
}
/**
@@ -146,6 +146,6 @@ class OCSController extends \OCP\AppFramework\OCSController {
return new DataResponse($data);
}
- return new DataResponse('User not found', 404);
+ return new DataResponse(['User not found'], 404);
}
}