@@ -69,11 +69,11 @@ discard block |
||
69 | 69 | $server->getUserManager(), |
70 | 70 | $c->query('ActivityService'), |
71 | 71 | $c->query('VaultService'), |
72 | - $c->query('ShareService'), |
|
73 | - $c->query('CredentialService'), |
|
74 | - $c->query('NotificationService'), |
|
75 | - $c->query('FileService'), |
|
76 | - $c->query('SettingsService') |
|
72 | + $c->query('ShareService'), |
|
73 | + $c->query('CredentialService'), |
|
74 | + $c->query('NotificationService'), |
|
75 | + $c->query('FileService'), |
|
76 | + $c->query('SettingsService') |
|
77 | 77 | ); |
78 | 78 | }); |
79 | 79 | |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | $container->registerAlias('ActivityService', ActivityService::class); |
110 | 110 | $container->registerAlias('VaultService', VaultService::class); |
111 | 111 | $container->registerAlias('FileService', FileService::class); |
112 | - $container->registerAlias('ShareService', ShareService::class); |
|
112 | + $container->registerAlias('ShareService', ShareService::class); |
|
113 | 113 | $container->registerAlias('Utils', Utils::class); |
114 | 114 | $container->registerAlias('IDBConnection', IDBConnection::class); |
115 | 115 | $container->registerAlias('IConfig', IConfig::class); |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | * @param $value mixed Value of the setting |
98 | 98 | */ |
99 | 99 | |
100 | - public function setUserSetting($key, $value){ |
|
100 | + public function setUserSetting($key, $value) { |
|
101 | 101 | return $this->config->setUserValue($this->userId, $this->appName, $key, $value); |
102 | 102 | } |
103 | 103 | |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * @param $setting |
108 | 108 | * @return bool |
109 | 109 | */ |
110 | - public function isEnabled($setting){ |
|
110 | + public function isEnabled($setting) { |
|
111 | 111 | $value = intval($this->config->getAppValue('passman', $setting, false)); |
112 | 112 | return ($value === 1); |
113 | 113 | } |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | * @param $value mixed Value of the setting |
98 | 98 | */ |
99 | 99 | |
100 | - public function setUserSetting($key, $value){ |
|
100 | + public function setUserSetting($key, $value) { |
|
101 | 101 | return $this->config->setUserValue($this->userId, $this->appName, $key, $value); |
102 | 102 | } |
103 | 103 | |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * @param $setting |
108 | 108 | * @return bool |
109 | 109 | */ |
110 | - public function isEnabled($setting){ |
|
110 | + public function isEnabled($setting) { |
|
111 | 111 | $value = intval($this->config->getAppValue('passman', $setting, false)); |
112 | 112 | return ($value === 1); |
113 | 113 | } |