@@ -32,18 +32,21 @@ discard block |
||
32 | 32 | /** |
33 | 33 | * @param string $message |
34 | 34 | * @since 9.1.0 |
35 | + * @return void |
|
35 | 36 | */ |
36 | 37 | public function info($message); |
37 | 38 | |
38 | 39 | /** |
39 | 40 | * @param string $message |
40 | 41 | * @since 9.1.0 |
42 | + * @return void |
|
41 | 43 | */ |
42 | 44 | public function warning($message); |
43 | 45 | |
44 | 46 | /** |
45 | 47 | * @param int $max |
46 | 48 | * @since 9.1.0 |
49 | + * @return void |
|
47 | 50 | */ |
48 | 51 | public function startProgress($max = 0); |
49 | 52 | |
@@ -51,12 +54,13 @@ discard block |
||
51 | 54 | * @param int $step |
52 | 55 | * @param string $description |
53 | 56 | * @since 9.1.0 |
57 | + * @return void |
|
54 | 58 | */ |
55 | 59 | public function advance($step = 1, $description = ''); |
56 | 60 | |
57 | 61 | /** |
58 | - * @param int $max |
|
59 | 62 | * @since 9.1.0 |
63 | + * @return void |
|
60 | 64 | */ |
61 | 65 | public function finishProgress(); |
62 | 66 | } |
@@ -67,6 +67,9 @@ |
||
67 | 67 | } |
68 | 68 | } |
69 | 69 | |
70 | + /** |
|
71 | + * @param string|boolean $username |
|
72 | + */ |
|
70 | 73 | private static function sendNotificationMail($username) { |
71 | 74 | $userObject = \OC::$server->getUserManager()->get($username); |
72 | 75 | $email = $userObject->getEMailAddress(); |
@@ -245,7 +245,7 @@ |
||
245 | 245 | } |
246 | 246 | |
247 | 247 | /** |
248 | - * @return array|null |
|
248 | + * @return string |
|
249 | 249 | */ |
250 | 250 | public function getLocalSystemAddressBook() { |
251 | 251 | if ($this->localSystemAddressBook === null) { |
@@ -93,7 +93,7 @@ |
||
93 | 93 | /** |
94 | 94 | * returns a list of all possible property names |
95 | 95 | * |
96 | - * @return array |
|
96 | + * @return string[] |
|
97 | 97 | */ |
98 | 98 | public static function getPropertyNames() { |
99 | 99 | return [ |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * |
51 | 51 | * @param IUser $user |
52 | 52 | * @param IStorageFactory $loader |
53 | - * @return \OCP\Files\Mount\IMountPoint[] |
|
53 | + * @return null|MountPoint |
|
54 | 54 | */ |
55 | 55 | public function getHomeMountForUser(IUser $user, IStorageFactory $loader) { |
56 | 56 | $config = $this->getMultiBucketObjectStoreConfig($user); |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | /** |
69 | 69 | * @param IUser $user |
70 | - * @return array|null |
|
70 | + * @return IStorageFactory|null |
|
71 | 71 | */ |
72 | 72 | private function getSingleBucketObjectStoreConfig(IUser $user) { |
73 | 73 | $config = $this->config->getSystemValue('objectstore'); |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | |
92 | 92 | /** |
93 | 93 | * @param IUser $user |
94 | - * @return array|null |
|
94 | + * @return IStorageFactory|null |
|
95 | 95 | */ |
96 | 96 | private function getMultiBucketObjectStoreConfig(IUser $user) { |
97 | 97 | $config = $this->config->getSystemValue('objectstore_multibucket'); |