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')
-rw-r--r--lib/Controller/AlbumsController.php3
-rw-r--r--lib/Controller/PageController.php3
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Controller/AlbumsController.php b/lib/Controller/AlbumsController.php
index fc3044b5..648ea0b2 100644
--- a/lib/Controller/AlbumsController.php
+++ b/lib/Controller/AlbumsController.php
@@ -1,4 +1,5 @@
<?php
+
declare(strict_types=1);
/**
* @copyright Copyright (c) 2019, Roeland Jago Douma <roeland@famdouma.nl>
@@ -109,7 +110,7 @@ class AlbumsController extends Controller {
return $result;
}
- private function scanCurrentFolder(Folder $folder, bool $shared): iterable {
+ private function scanCurrentFolder(Folder $folder, bool $shared): iterable {
$nodes = $folder->getDirectoryListing();
// add current folder to iterable set
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index ef33403c..effb3e07 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -1,4 +1,5 @@
<?php
+
declare(strict_types=1);
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
@@ -37,7 +38,6 @@ use OCP\IConfig;
use OCP\App\IAppManager;
class PageController extends Controller {
-
protected $appName;
/** @var IEventDispatcher */
@@ -62,7 +62,6 @@ class PageController extends Controller {
$this->eventDispatcher = $eventDispatcher;
$this->initialStateService = $initialStateService;
$this->config = $config;
-
}
/**