@@ -402,6 +402,9 @@ |
||
402 | 402 | } |
403 | 403 | } |
404 | 404 | |
405 | + /** |
|
406 | + * @param string $path |
|
407 | + */ |
|
405 | 408 | private function getParentPath($path) { |
406 | 409 | $parent = dirname($path); |
407 | 410 | if ($parent === '.') { |
@@ -160,6 +160,9 @@ |
||
160 | 160 | return true; |
161 | 161 | } |
162 | 162 | |
163 | + /** |
|
164 | + * @param string $path |
|
165 | + */ |
|
163 | 166 | private function rmObjects($path) { |
164 | 167 | $children = $this->getCache()->getFolderContents($path); |
165 | 168 | foreach ($children as $child) { |
@@ -54,6 +54,9 @@ |
||
54 | 54 | $this->flysystem->addPlugin(new GetWithMetadata()); |
55 | 55 | } |
56 | 56 | |
57 | + /** |
|
58 | + * @param string $path |
|
59 | + */ |
|
57 | 60 | protected function buildPath($path) { |
58 | 61 | $fullPath = \OC\Files\Filesystem::normalizePath($this->root . '/' . $path); |
59 | 62 | return ltrim($fullPath, '/'); |
@@ -65,7 +65,7 @@ |
||
65 | 65 | * Set a value in the cache if it's not already stored |
66 | 66 | * |
67 | 67 | * @param string $key |
68 | - * @param mixed $value |
|
68 | + * @param integer $value |
|
69 | 69 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
70 | 70 | * @return bool |
71 | 71 | */ |
@@ -65,7 +65,7 @@ |
||
65 | 65 | * Set a value in the cache if it's not already stored |
66 | 66 | * |
67 | 67 | * @param string $key |
68 | - * @param mixed $value |
|
68 | + * @param integer $value |
|
69 | 69 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
70 | 70 | * @return bool |
71 | 71 | */ |
@@ -65,7 +65,7 @@ |
||
65 | 65 | * Set a value in the cache if it's not already stored |
66 | 66 | * |
67 | 67 | * @param string $key |
68 | - * @param mixed $value |
|
68 | + * @param integer $value |
|
69 | 69 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
70 | 70 | * @return bool |
71 | 71 | */ |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | * make preview_icon available as a simple function |
185 | 185 | * Returns the path to the preview of the image. |
186 | 186 | * @param string $path path of file |
187 | - * @return link to the preview |
|
187 | + * @return string to the preview |
|
188 | 188 | * |
189 | 189 | * For further information have a look at OC_Helper::previewIcon |
190 | 190 | */ |
@@ -194,6 +194,7 @@ discard block |
||
194 | 194 | |
195 | 195 | /** |
196 | 196 | * @param string $path |
197 | + * @param string $token |
|
197 | 198 | */ |
198 | 199 | function publicPreview_icon ( $path, $token ) { |
199 | 200 | return OC_Helper::publicPreviewIcon( $path, $token ); |
@@ -30,7 +30,6 @@ |
||
30 | 30 | * StorageAuthException constructor. |
31 | 31 | * |
32 | 32 | * @param string $message |
33 | - * @param int $code |
|
34 | 33 | * @param \Exception $previous |
35 | 34 | * @since 9.0.0 |
36 | 35 | */ |
@@ -30,7 +30,6 @@ |
||
30 | 30 | * ExtStorageBadConfigException constructor. |
31 | 31 | * |
32 | 32 | * @param string $message |
33 | - * @param int $code |
|
34 | 33 | * @param \Exception $previous |
35 | 34 | * @since 9.0.0 |
36 | 35 | */ |