diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-07-13 13:50:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-13 13:50:54 +0300 |
commit | 36bb0d34af7714883eb70da674e7d26914298a74 (patch) | |
tree | 39d90aba4ca1c40ddf75e3d21aab909ab5a235d6 /lib | |
parent | af0b1e4c9422f8c1013545e1c6aa7d012899e32c (diff) | |
parent | 28639b5ddf270a4979ab3b8301d9cd414e0c3f9b (diff) |
Merge pull request #389 from nextcloud/stb19/add-php-csv19.0.1
Add php cs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AppInfo/Application.php | 6 | ||||
-rw-r--r-- | lib/Controller/AlbumsController.php | 3 | ||||
-rw-r--r-- | lib/Controller/PageController.php | 3 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 8125d4d5..d6906d20 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com> @@ -27,10 +28,9 @@ namespace OCA\Photos\AppInfo; use OCP\AppFramework\App; class Application extends App { + public const APP_ID = 'photos'; - const APP_ID = 'photos'; - - const MIMES = [ + public const MIMES = [ // 'image/png', // too rarely used for photos 'image/jpeg', // 'image/gif', // too rarely used for photos 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 b4b0e99a..5f39a982 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; - } /** |