@@ -31,7 +31,6 @@ |
||
| 31 | 31 | use OCP\AppFramework\Controller; |
| 32 | 32 | use OCP\AppFramework\Http\JSONResponse; |
| 33 | 33 | use OCP\AppFramework\Http\TemplateResponse; |
| 34 | -use OCP\Files; |
|
| 35 | 34 | use OCP\Files\IMimeTypeDetector; |
| 36 | 35 | use OCP\IDateTimeFormatter; |
| 37 | 36 | use OCP\IPreview; |
@@ -335,7 +335,7 @@ |
||
| 335 | 335 | * Split the path from the filename string |
| 336 | 336 | * |
| 337 | 337 | * @param string $filename |
| 338 | - * @return array Array with path and filename |
|
| 338 | + * @return string[] Array with path and filename |
|
| 339 | 339 | */ |
| 340 | 340 | protected function splitPathFromFilename($filename) { |
| 341 | 341 | if (strrpos($filename, '/') !== false) { |