summaryrefslogtreecommitdiffstats
path: root/lib/private/previewmanager.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-03-13 10:10:11 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2015-03-16 12:45:15 +0100
commit8ed27d2ce0477f40a27cdc335361b0d5654a7e09 (patch)
treede2db82b384ab3071c2c17b8e84dd560b9df993c /lib/private/previewmanager.php
parent3b7aec1b7d4e2e3a1ff6c1f7888189c67aa09b75 (diff)
downloadnextcloud-server-8ed27d2ce0477f40a27cdc335361b0d5654a7e09.tar.gz
nextcloud-server-8ed27d2ce0477f40a27cdc335361b0d5654a7e09.zip
Create an interface for OC_Image and OCP\Image for the public API
Diffstat (limited to 'lib/private/previewmanager.php')
-rw-r--r--lib/private/previewmanager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/previewmanager.php b/lib/private/previewmanager.php
index 0d3ec40c06b..0a0c47df28f 100644
--- a/lib/private/previewmanager.php
+++ b/lib/private/previewmanager.php
@@ -96,7 +96,7 @@ class PreviewManager implements IPreview {
* @param int $maxX The maximum X size of the thumbnail. It can be smaller depending on the shape of the image
* @param int $maxY The maximum Y size of the thumbnail. It can be smaller depending on the shape of the image
* @param boolean $scaleUp Scale smaller images up to the thumbnail size or not. Might look ugly
- * @return \OCP\Image
+ * @return \OCP\IImage
*/
public function createPreview($file, $maxX = 100, $maxY = 75, $scaleUp = false) {
$preview = new \OC\Preview('', '/', $file, $maxX, $maxY, $scaleUp);