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-08-26 00:26:57 +0300
committerOlivier Paroz <github@oparoz.com>2015-08-26 00:26:57 +0300
commit1cecda934ab05ba2e67a7100eac222b1f37df771 (patch)
tree561b4ee856299eaf949fafdab2b40fa319fd36e5 /preview
parent14593d87a5745a4fd01b33a9e24a0f45b10f8a86 (diff)
Minor PHPDoc update
Diffstat (limited to 'preview')
-rw-r--r--preview/preview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/preview/preview.php b/preview/preview.php
index 25c0c5b0..014722fd 100644
--- a/preview/preview.php
+++ b/preview/preview.php
@@ -295,7 +295,7 @@ class Preview {
* @param int $maxWidth
* @param int $maxHeight
*
- * @return array
+ * @return array<int,double>
*/
private function calculateNewDimensions($previewWidth, $previewHeight, $maxWidth, $maxHeight) {
if (($previewWidth / $previewHeight) >= ($maxWidth / $maxHeight)) {