@@ -49,6 +49,7 @@ discard block |
||
49 | 49 | class Files { |
50 | 50 | /** |
51 | 51 | * Recusive deletion of folders |
52 | + * @param string $dir |
|
52 | 53 | * @return bool |
53 | 54 | * @since 5.0.0 |
54 | 55 | * @deprecated 14.0.0 |
@@ -72,7 +73,7 @@ discard block |
||
72 | 73 | /** |
73 | 74 | * Search for files by mimetype |
74 | 75 | * @param string $mimetype |
75 | - * @return array |
|
76 | + * @return \OC\Files\FileInfo[] |
|
76 | 77 | * @since 6.0.0 |
77 | 78 | * @deprecated 14.0.0 |
78 | 79 | */ |
@@ -31,7 +31,6 @@ |
||
31 | 31 | /** |
32 | 32 | * @since 14.0.0 |
33 | 33 | * |
34 | - * @param string $uid The username |
|
35 | 34 | * @param string $password The password |
36 | 35 | * @return string|bool The uid on success false on failure |
37 | 36 | */ |
@@ -311,7 +311,7 @@ |
||
311 | 311 | * get the display name of the user currently logged in. |
312 | 312 | * |
313 | 313 | * @param string $uid |
314 | - * @return string|bool uid or false |
|
314 | + * @return string|false uid or false |
|
315 | 315 | * @deprecated 8.1.0 fetch \OCP\IUser (has getDisplayName()) by using method |
316 | 316 | * get() of \OCP\IUserManager - \OC::$server->getUserManager() |
317 | 317 | */ |
@@ -74,7 +74,6 @@ |
||
74 | 74 | * @param IUserSession $userSession |
75 | 75 | * @param AccountManager $accountManager |
76 | 76 | * @param ILogger $logger |
77 | - * @param UsersController $userController |
|
78 | 77 | */ |
79 | 78 | public function __construct(string $appName, |
80 | 79 | IRequest $request, |
@@ -119,6 +119,7 @@ discard block |
||
119 | 119 | |
120 | 120 | /** |
121 | 121 | * Checks if the Nextcloud server can connect to a specific URL using both HTTPS and HTTP |
122 | + * @param string $sitename |
|
122 | 123 | * @return bool |
123 | 124 | */ |
124 | 125 | private function isSiteReachable($sitename) { |
@@ -316,7 +317,7 @@ discard block |
||
316 | 317 | |
317 | 318 | /** |
318 | 319 | * @NoCSRFRequired |
319 | - * @return DataResponse |
|
320 | + * @return DataDisplayResponse |
|
320 | 321 | */ |
321 | 322 | public function getFailedIntegrityCheckFiles() { |
322 | 323 | if(!$this->checker->isCodeCheckEnforced()) { |
@@ -196,7 +196,7 @@ |
||
196 | 196 | * @param string $password |
197 | 197 | * @param string $email |
198 | 198 | * @param array $groups |
199 | - * @param array $subadmins |
|
199 | + * @param array $subadmin |
|
200 | 200 | * @param string $quota |
201 | 201 | * @param string $language |
202 | 202 | * @return DataResponse |
@@ -295,6 +295,7 @@ discard block |
||
295 | 295 | * Calculate steps between two Colors |
296 | 296 | * @param object Color $steps start color |
297 | 297 | * @param object Color $ends end color |
298 | + * @param integer $steps |
|
298 | 299 | * @return array [r,g,b] steps for each color to go from $steps to $ends |
299 | 300 | */ |
300 | 301 | private function stepCalc($steps, $ends) { |
@@ -306,8 +307,9 @@ discard block |
||
306 | 307 | } |
307 | 308 | /** |
308 | 309 | * Convert a string to an integer evenly |
309 | - * @param string $hash the text to parse |
|
310 | - * @param int $maximum the maximum range |
|
310 | + * @param integer $steps |
|
311 | + * @param Color $color1 |
|
312 | + * @param Color $color2 |
|
311 | 313 | * @return int between 0 and $maximum |
312 | 314 | */ |
313 | 315 | private function mixPalette($steps, $color1, $color2) { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * share received from another server |
122 | 122 | * |
123 | 123 | * @param ICloudFederationShare $share |
124 | - * @return string provider specific unique ID of the share |
|
124 | + * @return integer provider specific unique ID of the share |
|
125 | 125 | * |
126 | 126 | * @throws ProviderCouldNotAddShareException |
127 | 127 | * @throws \OCP\AppFramework\QueryException |
@@ -324,9 +324,9 @@ discard block |
||
324 | 324 | * |
325 | 325 | * @param string $remoteDomain |
326 | 326 | * @param string $token |
327 | - * @param $remoteId |
|
327 | + * @param integer $remoteId |
|
328 | 328 | * @param string $feedback |
329 | - * @return mixed |
|
329 | + * @return boolean|null |
|
330 | 330 | */ |
331 | 331 | protected function tryOCMEndPoint($remoteDomain, $token, $remoteId, $feedback) { |
332 | 332 | switch ($feedback) { |
@@ -405,6 +405,9 @@ discard block |
||
405 | 405 | return $result; |
406 | 406 | } |
407 | 407 | |
408 | + /** |
|
409 | + * @param string $mountPoint |
|
410 | + */ |
|
408 | 411 | public function removeShare($mountPoint) { |
409 | 412 | |
410 | 413 | $mountPointObj = $this->mountManager->find($mountPoint); |