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

github.com/westberliner/checksum.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick <patrick@westberliner.net>2022-05-15 12:53:48 +0300
committerPatrick <patrick@westberliner.net>2022-05-15 12:53:48 +0300
commitdbcdb821bc3632e6db0cfbead5e356c7f6582c60 (patch)
tree9f3cc8d6f9b843ba868dd3e55469c1f115ba969e /lib/AppInfo
parentc00a4ec2c696dee729f9dfa747853b2fbbecbc5c (diff)
Add qa tools. CS Fix files.
Diffstat (limited to 'lib/AppInfo')
-rw-r--r--lib/AppInfo/Application.php35
1 files changed, 19 insertions, 16 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 89c9a5e..7b06252 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -31,20 +31,23 @@ use OCP\AppFramework\Bootstrap\IBootstrap;
use OCP\AppFramework\Bootstrap\IRegistrationContext;
class Application extends App implements IBootstrap {
- public const APP_ID = 'checksum';
-
- public function __construct(array $urlParams = []) {
- parent::__construct(self::APP_ID, $urlParams);
- }
-
- public function register(IRegistrationContext $context): void {
- // Load scripts for sidebar.
- $context->registerEventListener(
- LoadSidebar::class,
- LoadSidebarListener::class
- );
- }
-
- public function boot(IBootContext $context): void {
- }
+ public const APP_ID = 'checksum';
+
+ /**
+ * @param array<string> $urlParams
+ */
+ public function __construct(array $urlParams = []) {
+ parent::__construct(self::APP_ID, $urlParams);
+ }
+
+ public function register(IRegistrationContext $context): void {
+ // Load scripts for sidebar.
+ $context->registerEventListener(
+ LoadSidebar::class,
+ LoadSidebarListener::class
+ );
+ }
+
+ public function boot(IBootContext $context): void {
+ }
}