diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-01-28 22:32:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-28 22:32:49 +0100 |
commit | 9cd871983a368752d122a73da244606bdeba312f (patch) | |
tree | d1882e1e677d7cee12926e5688ccfbfd31a505f5 /lib/Controller/UserApiController.php | |
parent | 31b2f194af74bdba60bdd2640e5fc47340157795 (diff) | |
parent | becce6b7520912257c3d72697a3aefec9923a467 (diff) |
Merge pull request #382 from SMillerDev/codestyle_psr2
Define an official codestyle and adhere to it.
Diffstat (limited to 'lib/Controller/UserApiController.php')
-rw-r--r-- | lib/Controller/UserApiController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Controller/UserApiController.php b/lib/Controller/UserApiController.php index 2e0b04b5c..1a5f34f70 100644 --- a/lib/Controller/UserApiController.php +++ b/lib/Controller/UserApiController.php @@ -27,7 +27,8 @@ class UserApiController extends ApiController private $userSession; private $rootFolder; - public function __construct($appName, + public function __construct( + $appName, IRequest $request, IUserSession $userSession, IRootFolder $rootFolder @@ -41,7 +42,7 @@ class UserApiController extends ApiController * @NoCSRFRequired * @CORS */ - public function index() + public function index() { $user = $this->getUser(); @@ -71,5 +72,4 @@ class UserApiController extends ApiController 'avatar' => $avatar ]; } - } |