diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-14 17:06:46 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-14 17:06:46 +0300 |
commit | 7f32cfe6570d112fb748c9a97590e2b9d6e8aafb (patch) | |
tree | 931a9c6eaca5fafcd280f9fe7fa6c268631f60f2 /lib/AppInfo | |
parent | 2107b0f6ffe97ac40152207f7f90cc2a94ce46d1 (diff) |
Update to nextcloud coding standard v0.3.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/AppInfo')
-rw-r--r-- | lib/AppInfo/Application.php | 2 | ||||
-rw-r--r-- | lib/AppInfo/BootstrapSingleton.php | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index baee1c147..efa0a3f35 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -27,7 +27,6 @@ namespace OCA\Mail\AppInfo; use OCP\AppFramework\App; class Application extends App { - public const APP_ID = 'mail'; public function __construct(array $urlParams = []) { @@ -35,5 +34,4 @@ class Application extends App { BootstrapSingleton::getInstance($this->getContainer())->boot(); } - } diff --git a/lib/AppInfo/BootstrapSingleton.php b/lib/AppInfo/BootstrapSingleton.php index c40c80f57..1e605b794 100644 --- a/lib/AppInfo/BootstrapSingleton.php +++ b/lib/AppInfo/BootstrapSingleton.php @@ -1,4 +1,6 @@ -<?php declare(strict_types=1); +<?php + +declare(strict_types=1); /** * @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at> @@ -135,5 +137,4 @@ class BootstrapSingleton { $dispatcher->addServiceListener(MessageSentEvent::class, SaveSentMessageListener::class); $dispatcher->addServiceListener(SaveDraftEvent::class, DraftMailboxCreatorListener::class); } - } |