@@ -212,6 +212,7 @@ |
||
212 | 212 | |
213 | 213 | /** |
214 | 214 | * write back temporary files |
215 | + * @param string $path |
|
215 | 216 | */ |
216 | 217 | function writeBack($tmpFile, $path) { |
217 | 218 | $this->addFile($path, $tmpFile); |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * Creates a Folder that represents a non-existing path |
32 | 32 | * |
33 | 33 | * @param string $path path |
34 | - * @return string non-existing node class |
|
34 | + * @return NonExistingFile non-existing node class |
|
35 | 35 | */ |
36 | 36 | protected function createNonExistingNode($path) { |
37 | 37 | return new NonExistingFile($this->root, $this->view, $path); |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * Creates a Folder that represents a non-existing path |
38 | 38 | * |
39 | 39 | * @param string $path path |
40 | - * @return string non-existing node class |
|
40 | + * @return NonExistingFolder non-existing node class |
|
41 | 41 | */ |
42 | 42 | protected function createNonExistingNode($path) { |
43 | 43 | return new NonExistingFolder($this->root, $this->view, $path); |
@@ -46,7 +46,6 @@ |
||
46 | 46 | use OC\AppFramework\Utility\TimeFactory; |
47 | 47 | use OC\Core\Middleware\TwoFactorMiddleware; |
48 | 48 | use OC\RichObjectStrings\Validator; |
49 | -use OC\Security\Bruteforce\Throttler; |
|
50 | 49 | use OCP\AppFramework\IApi; |
51 | 50 | use OCP\AppFramework\IAppContainer; |
52 | 51 | use OCP\Files\IAppData; |
@@ -33,6 +33,7 @@ |
||
33 | 33 | * |
34 | 34 | * @returns string |
35 | 35 | * @since 12 |
36 | + * @return string |
|
36 | 37 | */ |
37 | 38 | public function getIcon(); |
38 | 39 | } |
@@ -33,7 +33,6 @@ |
||
33 | 33 | use OC\Accounts\AccountManager; |
34 | 34 | use OC\AppFramework\Http; |
35 | 35 | use OC\ForbiddenException; |
36 | -use OC\User\User; |
|
37 | 36 | use OCP\App\IAppManager; |
38 | 37 | use OCP\AppFramework\Controller; |
39 | 38 | use OCP\AppFramework\Http\DataResponse; |
@@ -770,7 +770,7 @@ |
||
770 | 770 | |
771 | 771 | /** |
772 | 772 | * @param Share[] $shares |
773 | - * @param $userId |
|
773 | + * @param string $userId |
|
774 | 774 | * @return Share[] The updates shares if no update is found for a share return the original |
775 | 775 | */ |
776 | 776 | private function resolveGroupShares($shares, $userId) { |