@@ -30,7 +30,6 @@ |
||
| 30 | 30 | use OCA\Federation\Hooks; |
| 31 | 31 | use OCA\Federation\Middleware\AddServerMiddleware; |
| 32 | 32 | use OCA\Federation\SyncFederationAddressBooks; |
| 33 | -use OCA\Federation\SyncJob; |
|
| 34 | 33 | use OCA\Federation\TrustedServers; |
| 35 | 34 | use OCP\API; |
| 36 | 35 | use OCP\App; |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | |
| 25 | 25 | namespace OCA\Files\Service; |
| 26 | 26 | |
| 27 | -use OC\Files\FileInfo; |
|
| 28 | 27 | use OCP\Files\Node; |
| 29 | 28 | |
| 30 | 29 | /** |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | * make preview_icon available as a simple function |
| 184 | 184 | * Returns the path to the preview of the image. |
| 185 | 185 | * @param string $path path of file |
| 186 | - * @return link to the preview |
|
| 186 | + * @return string to the preview |
|
| 187 | 187 | * |
| 188 | 188 | * For further information have a look at OC_Helper::previewIcon |
| 189 | 189 | */ |
@@ -193,6 +193,7 @@ discard block |
||
| 193 | 193 | |
| 194 | 194 | /** |
| 195 | 195 | * @param string $path |
| 196 | + * @param string $token |
|
| 196 | 197 | */ |
| 197 | 198 | function publicPreview_icon ( $path, $token ) { |
| 198 | 199 | return OC_Helper::publicPreviewIcon( $path, $token ); |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | /** |
| 97 | 97 | * Appends a variable |
| 98 | 98 | * @param string $key key |
| 99 | - * @param mixed $value value |
|
| 99 | + * @param string $value value |
|
| 100 | 100 | * @return boolean|null |
| 101 | 101 | * |
| 102 | 102 | * This function assigns a variable in an array context. If the key already |