@@ -106,7 +106,7 @@ |
||
106 | 106 | /** |
107 | 107 | * Returns an array with all the child nodes |
108 | 108 | * |
109 | - * @return \Sabre\DAV\INode[] |
|
109 | + * @return CommentNode[] |
|
110 | 110 | */ |
111 | 111 | function getChildren() { |
112 | 112 | return $this->findChildren(); |
@@ -94,7 +94,7 @@ |
||
94 | 94 | /** |
95 | 95 | * returns a list of all possible property names |
96 | 96 | * |
97 | - * @return array |
|
97 | + * @return string[] |
|
98 | 98 | */ |
99 | 99 | static public function getPropertyNames() { |
100 | 100 | return [ |
@@ -142,7 +142,7 @@ |
||
142 | 142 | * This will be used in the {DAV:}supported-report-set property. |
143 | 143 | * |
144 | 144 | * @param string $uri |
145 | - * @return array |
|
145 | + * @return string[] |
|
146 | 146 | */ |
147 | 147 | public function getSupportedReportSet($uri) { |
148 | 148 | return [self::REPORT_NAME]; |
@@ -116,7 +116,7 @@ |
||
116 | 116 | * @param RequestInterface $request |
117 | 117 | * @param ResponseInterface $response |
118 | 118 | * |
119 | - * @return null|bool |
|
119 | + * @return null|false |
|
120 | 120 | */ |
121 | 121 | public function httpPost(RequestInterface $request, ResponseInterface $response) { |
122 | 122 | $path = $request->getPath(); |
@@ -22,7 +22,6 @@ |
||
22 | 22 | namespace OCA\Files_External\Lib\Backend; |
23 | 23 | |
24 | 24 | use OCP\IL10N; |
25 | -use OCP\Files\External\DefinitionParameter; |
|
26 | 25 | use OCP\Files\External\Auth\AuthMechanism; |
27 | 26 | use OCP\Files\External\Backend\Backend; |
28 | 27 | use OCA\Files_External\Lib\LegacyDependencyCheckPolyfill; |
@@ -230,6 +230,9 @@ |
||
230 | 230 | return false; |
231 | 231 | } |
232 | 232 | |
233 | + /** |
|
234 | + * @param string $path |
|
235 | + */ |
|
233 | 236 | private function batchDelete ($path = null) { |
234 | 237 | $params = [ |
235 | 238 | 'Bucket' => $this->bucket |
@@ -325,6 +325,9 @@ |
||
325 | 325 | return $result; |
326 | 326 | } |
327 | 327 | |
328 | + /** |
|
329 | + * @param string $mountPoint |
|
330 | + */ |
|
328 | 331 | public function removeShare($mountPoint) { |
329 | 332 | |
330 | 333 | $mountPointObj = $this->mountManager->find($mountPoint); |
@@ -109,7 +109,7 @@ |
||
109 | 109 | * check if it is a file located in data/user/files only files in the |
110 | 110 | * 'files' directory should be moved to the trash |
111 | 111 | * |
112 | - * @param $path |
|
112 | + * @param string $path |
|
113 | 113 | * @return bool |
114 | 114 | */ |
115 | 115 | protected function shouldMoveToTrash($path){ |
@@ -80,7 +80,7 @@ |
||
80 | 80 | |
81 | 81 | /** |
82 | 82 | * @param array $parameters |
83 | - * @return int |
|
83 | + * @return string |
|
84 | 84 | */ |
85 | 85 | protected function getPath($parameters) { |
86 | 86 | $node = \OC::$server->getRootFolder() |