Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-03-15 01:05:44 +0300
committerOlivier Paroz <github@oparoz.com>2015-03-15 01:05:44 +0300
commitdf459d98cb0d3af09a0862fa43f454a566694f3a (patch)
tree63abede97b866bdcbe3819ee0673b11722a2b937 /preview
parent7221f312e59c62ef0e5a2397251305b433adfa64 (diff)
Updated PHPdoc
Diffstat (limited to 'preview')
-rw-r--r--preview/preview.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/preview/preview.php b/preview/preview.php
index 5e92c44a..634d6306 100644
--- a/preview/preview.php
+++ b/preview/preview.php
@@ -159,7 +159,7 @@ class Preview {
*
* @param bool $square
*
- * @return resource
+ * @return \OC_Image
*/
public function previewValidator($square) {
list($maxWidth, $maxHeight) = $this->dims;
@@ -215,7 +215,7 @@ class Preview {
* @param int $maxHeight
* @param bool $square
*
- * @return mixed
+ * @return \OC_Image
*/
private function fixPreview(
$previewData, $previewWidth, $previewHeight, $maxWidth, $maxHeight, $square
@@ -332,7 +332,7 @@ class Preview {
*
* @param resource $fixedPreview
*
- * @return mixed
+ * @return \OC_Image
*/
private function fixPreviewCache($fixedPreview) {
$owner = $this->userId;