@@ -164,7 +164,7 @@ |
||
164 | 164 | * @param array $parameters |
165 | 165 | * @param bool $silence whether to suppress warnings |
166 | 166 | * @throws \ErrorException via trapError |
167 | - * @return mixed |
|
167 | + * @return string |
|
168 | 168 | */ |
169 | 169 | private function invoke($functionName, array $parameters = [], $silence = false) { |
170 | 170 | try { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @brief states whether the filesystem was loaded |
35 | - * @return bool |
|
35 | + * @return boolean|null |
|
36 | 36 | */ |
37 | 37 | public function log($msg, $level) { |
38 | 38 | \OCP\Util::writeLog($this->app, $msg, $level); |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * |
52 | 52 | * @param IUser $user |
53 | 53 | * @param IStorageFactory $loader |
54 | - * @return \OCP\Files\Mount\IMountPoint |
|
54 | + * @return null|MountPoint |
|
55 | 55 | */ |
56 | 56 | public function getHomeMountForUser(IUser $user, IStorageFactory $loader) { |
57 | 57 | |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | |
70 | 70 | /** |
71 | 71 | * @param IUser $user |
72 | - * @return array|null |
|
72 | + * @return IStorageFactory|null |
|
73 | 73 | */ |
74 | 74 | private function getSingleBucketObjectStoreConfig(IUser $user) { |
75 | 75 | $config = $this->config->getSystemValue('objectstore'); |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | |
94 | 94 | /** |
95 | 95 | * @param IUser $user |
96 | - * @return array|null |
|
96 | + * @return IStorageFactory|null |
|
97 | 97 | */ |
98 | 98 | private function getMultiBucketObjectStoreConfig(IUser $user) { |
99 | 99 | $config = $this->config->getSystemValue('objectstore_multibucket'); |
@@ -69,7 +69,7 @@ |
||
69 | 69 | /** |
70 | 70 | * Generate a keypair |
71 | 71 | * |
72 | - * @param int $keyLenth |
|
72 | + * @param integer $keyLength |
|
73 | 73 | * @return array ['privatekey' => $privateKey, 'publickey' => $publicKey] |
74 | 74 | */ |
75 | 75 | public function createKey($keyLength) { |
@@ -126,7 +126,7 @@ |
||
126 | 126 | |
127 | 127 | /** |
128 | 128 | * @param string $data |
129 | - * @return int |
|
129 | + * @return boolean |
|
130 | 130 | */ |
131 | 131 | public function stream_write($data) { |
132 | 132 | return false; |
@@ -176,7 +176,7 @@ |
||
176 | 176 | /** |
177 | 177 | * Create the circle share provider |
178 | 178 | * |
179 | - * @return FederatedShareProvider |
|
179 | + * @return null|\OCA\Circles\ShareByCircleProvider |
|
180 | 180 | * |
181 | 181 | * @suppress PhanUndeclaredClassMethod |
182 | 182 | */ |
@@ -271,7 +271,7 @@ |
||
271 | 271 | * Return the explicit version for the aliases; current, next, prev, latest |
272 | 272 | * |
273 | 273 | * @param string $alias |
274 | - * @return mixed|null|string |
|
274 | + * @return string |
|
275 | 275 | */ |
276 | 276 | public function getMigration($alias) { |
277 | 277 | switch($alias) { |
@@ -83,6 +83,9 @@ |
||
83 | 83 | } while (count($rows) > 0); |
84 | 84 | } |
85 | 85 | |
86 | + /** |
|
87 | + * @param string $path |
|
88 | + */ |
|
86 | 89 | private function getId($storage, $path) { |
87 | 90 | if (!$this->getIdQuery) { |
88 | 91 | $builder = $this->connection->getQueryBuilder(); |
@@ -47,6 +47,7 @@ discard block |
||
47 | 47 | class Files { |
48 | 48 | /** |
49 | 49 | * Recusive deletion of folders |
50 | + * @param string $dir |
|
50 | 51 | * @return bool |
51 | 52 | * @since 5.0.0 |
52 | 53 | */ |
@@ -68,7 +69,7 @@ discard block |
||
68 | 69 | /** |
69 | 70 | * Search for files by mimetype |
70 | 71 | * @param string $mimetype |
71 | - * @return array |
|
72 | + * @return \OC\Files\FileInfo[] |
|
72 | 73 | * @since 6.0.0 |
73 | 74 | */ |
74 | 75 | static public function searchByMime($mimetype) { |