diff options
author | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2014-05-11 21:51:30 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2014-05-13 19:08:14 +0100 |
commit | 87b548ed91c03f051a93cc39bf94650922c1f55f (patch) | |
tree | 1c2a03d338f3c9a9e729b08d66c83ef9a55782f2 /lib/private/preview.php | |
parent | a7ae2e874a28aed2c190840634db50a19ab1d2e7 (diff) | |
download | nextcloud-server-87b548ed91c03f051a93cc39bf94650922c1f55f.tar.gz nextcloud-server-87b548ed91c03f051a93cc39bf94650922c1f55f.zip |
Fix all PHPDoc types and variable names, in /lib
Diffstat (limited to 'lib/private/preview.php')
-rwxr-xr-x | lib/private/preview.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/preview.php b/lib/private/preview.php index 941f9f26c6a..bf8c04e0998 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 $this + * @return object $this */ public function setFile($file) { $this->file = $file; @@ -217,7 +217,7 @@ class Preview { * @brief set the the max width of the preview * @param int $maxX * @throws \Exception - * @return $this + * @return \OC\Preview $this */ public function setMaxX($maxX = 1) { if ($maxX <= 0) { @@ -238,7 +238,7 @@ class Preview { * @brief set the the max height of the preview * @param int $maxY * @throws \Exception - * @return $this + * @return \OC\Preview $this */ public function setMaxY($maxY = 1) { if ($maxY <= 0) { @@ -258,7 +258,7 @@ class Preview { /** * @brief set whether or not scalingup is enabled * @param bool $scalingUp - * @return $this + * @return \OC\Preview $this */ public function setScalingup($scalingUp) { if ($this->getMaxScaleFactor() === 1) { @@ -750,7 +750,7 @@ class Preview { } /** - * @param $fileId + * @param int $fileId * @return string */ private function buildCachePath($fileId) { |