@@ -39,7 +39,6 @@ discard block |
||
| 39 | 39 | use OCP\IGroupManager; |
| 40 | 40 | use OCP\Defaults; |
| 41 | 41 | use OCP\IURLGenerator; |
| 42 | - |
|
| 43 | 42 | use OC\Settings\Panels\Personal\Profile; |
| 44 | 43 | use OC\Settings\Panels\Personal\Legacy as LegacyPersonal; |
| 45 | 44 | use OC\Settings\Panels\Admin\Legacy as LegacyAdmin; |
@@ -54,7 +53,6 @@ discard block |
||
| 54 | 53 | use OC\Settings\Panels\Admin\Mail; |
| 55 | 54 | use OC\Settings\Panels\Admin\Logging; |
| 56 | 55 | use OC\Settings\Panels\Admin\SecurityWarning; |
| 57 | -use OC\Settings\Panels\Admin\Updater; |
|
| 58 | 56 | use OC\Settings\Panels\Admin\Tips; |
| 59 | 57 | |
| 60 | 58 | /* |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | |
| 165 | 165 | /** |
| 166 | 166 | * Enables the app as a theme if it has the type "theme" |
| 167 | - * @param $app |
|
| 167 | + * @param string $app |
|
| 168 | 168 | */ |
| 169 | 169 | private static function enableThemeIfApplicable($app) { |
| 170 | 170 | if (self::isType($app, 'theme')) { |
@@ -1371,8 +1371,8 @@ discard block |
||
| 1371 | 1371 | } |
| 1372 | 1372 | |
| 1373 | 1373 | /** |
| 1374 | - * @param $config |
|
| 1375 | - * @param $l |
|
| 1374 | + * @param OCP\IConfig $config |
|
| 1375 | + * @param OCP\IL10N $l |
|
| 1376 | 1376 | * @param $info |
| 1377 | 1377 | * @throws Exception |
| 1378 | 1378 | */ |
@@ -1166,7 +1166,7 @@ |
||
| 1166 | 1166 | * Get the certificate manager for the user |
| 1167 | 1167 | * |
| 1168 | 1168 | * @param string $userId (optional) if not specified the current loggedin user is used, use null to get the system certificate manager |
| 1169 | - * @return \OCP\ICertificateManager | null if $uid is null and no user is logged in |
|
| 1169 | + * @return null|CertificateManager | null if $uid is null and no user is logged in |
|
| 1170 | 1170 | */ |
| 1171 | 1171 | public function getCertificateManager($userId = '') { |
| 1172 | 1172 | if ($userId === '') { |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | |
| 24 | 24 | use OCP\Settings\ISettings; |
| 25 | 25 | use OCP\Template; |
| 26 | -use OCP\IUser; |
|
| 27 | 26 | use OCP\IGroupManager; |
| 28 | 27 | use OCP\IUserSession; |
| 29 | 28 | use OCP\IConfig; |