summaryrefslogtreecommitdiffstats
path: root/lib/Controller/UserApiController.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-09-29 13:54:17 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2020-09-29 14:56:07 +0200
commit35b53ecd404a74edea3c6866e451c4819bdc9ea8 (patch)
treedac46834d8fa7ec0122243f94604c3d2215b4d22 /lib/Controller/UserApiController.php
parentd6d169be15913404f99b86c39a03bc71942c9f77 (diff)
OPML export command and fixes
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Controller/UserApiController.php')
-rw-r--r--lib/Controller/UserApiController.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Controller/UserApiController.php b/lib/Controller/UserApiController.php
index 1a5f34f70..b644ba1f0 100644
--- a/lib/Controller/UserApiController.php
+++ b/lib/Controller/UserApiController.php
@@ -24,11 +24,10 @@ use \OCP\AppFramework\Http;
class UserApiController extends ApiController
{
- private $userSession;
private $rootFolder;
public function __construct(
- $appName,
+ string $appName,
IRequest $request,
IUserSession $userSession,
IRootFolder $rootFolder
@@ -42,7 +41,7 @@ class UserApiController extends ApiController
* @NoCSRFRequired
* @CORS
*/
- public function index()
+ public function index(): array
{
$user = $this->getUser();