diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-04-10 22:02:47 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-04-10 22:02:47 +0300 |
commit | 83290fbd8d58f947a04df8c1a89dcb241cee318b (patch) | |
tree | 063396151580345c79c729161f026035a3f28337 /lib/Controller/AliasesController.php | |
parent | cf081227c459d1253a4f2394db330a548fb3677f (diff) |
Some more Controller cleanup
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/Controller/AliasesController.php')
-rw-r--r-- | lib/Controller/AliasesController.php | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/Controller/AliasesController.php b/lib/Controller/AliasesController.php index ac9a4ca1b..1d16f19de 100644 --- a/lib/Controller/AliasesController.php +++ b/lib/Controller/AliasesController.php @@ -37,17 +37,13 @@ class AliasesController extends Controller { /** @var AliasesService */ private $aliasService; - /** - * @var IUser - */ + /** @var IUser */ private $currentUser; - /** - * @param string $appName - * @param IRequest $request - * @param AliasesService $aliasesService - */ - public function __construct($appName, IRequest $request, AliasesService $aliasesService, IUserSession $userSession) { + public function __construct(string $appName, + IRequest $request, + AliasesService $aliasesService, + IUserSession $userSession) { parent::__construct($appName, $request); $this->aliasService = $aliasesService; $this->currentUser = $userSession->getUser(); |