diff --git a/lib/private/preview.php b/lib/private/preview.php
index bf8c04e099870fccbee89a7ec224ef746c14a126..eb932470a473dffc4b0d532c6c1acbd521ed9264 100755
--- a/lib/private/preview.php
+++ b/lib/private/preview.php
@@ -191,7 +191,7 @@ class Preview {
 	/**
 	 * @brief set the path of the file you want a thumbnail from
 	 * @param string $file
-	 * @return object $this
+	 * @return \OC\Preview $this
 	 */
 	public function setFile($file) {
 		$this->file = $file;