From af2fd96825d6ae2c7802e9f3bac9054e85093396 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Tue, 3 Nov 2020 21:56:37 +0100 Subject: Controllers: Use v2 services Signed-off-by: Sean Molenaar --- lib/Controller/ApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Controller/ApiController.php') diff --git a/lib/Controller/ApiController.php b/lib/Controller/ApiController.php index 544b2c23b..de7a0919c 100644 --- a/lib/Controller/ApiController.php +++ b/lib/Controller/ApiController.php @@ -41,7 +41,7 @@ class ApiController extends BaseApiController * @param IRequest $request The request * @param IUserSession $userSession The user session */ - public function __construct($appName, IRequest $request, IUserSession $userSession) + public function __construct(string $appName, IRequest $request, IUserSession $userSession) { parent::__construct($appName, $request); $this->userSession = $userSession; -- cgit v1.2.3