Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/photos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/AlbumsController.php')
-rw-r--r--lib/Controller/AlbumsController.php24
1 files changed, 10 insertions, 14 deletions
diff --git a/lib/Controller/AlbumsController.php b/lib/Controller/AlbumsController.php
index bf242f0a..ce8dde16 100644
--- a/lib/Controller/AlbumsController.php
+++ b/lib/Controller/AlbumsController.php
@@ -40,20 +40,16 @@ use OCP\IPreview;
use OCP\IRequest;
class AlbumsController extends Controller {
-
- /** @var string */
- private $userId;
-
- /** @var IRootFolder */
- private $rootFolder;
-
- /** @var IPreview */
- private $previewManager;
-
- public function __construct(string $userId,
- IRequest $request,
- IRootFolder $rootFolder,
- IPreview $previewManager) {
+ private string $userId;
+ private IRootFolder $rootFolder;
+ private IPreview $previewManager;
+
+ public function __construct(
+ string $userId,
+ IRequest $request,
+ IRootFolder $rootFolder,
+ IPreview $previewManager
+ ) {
parent::__construct(Application::APP_ID, $request);
$this->userId = $userId;